home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Tape Archive
(archive/tar).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Tape Archive (archive/tar)
| magic
| Supported |
100%
| file
| POSIX tar archive (GNU)
| default
| |
99%
| file
| POSIX tar archive (GNU), directory usr/, mode 40755 , uid 0 , gid 0 , size 0 , seconds 5474726173, user root, group root
| default
| |
98%
| file
| data
| default
| |
41%
| TrID
| Sybase iAnywhere database files
| default (weak)
| |
36%
| TrID
| TAR - Tape ARchive (GNU)
| default
| |
21%
| TrID
| TAR - Tape ARchive (directory)
| default
| |
100%
| siegfried
| x-fmt/265 Tape Archive Format
| default
| |
100%
| lsar
| Tar
| default
| |
100%
| gt2
| TAR Archiv gefunden (Auflistung ist deaktiviert)
| default
| |
100%
| disktype
| GNU tar archive
| default
| |
100%
| detectItEasy
| Archive: tar
| default
| |
100%
| binwalkID
| POSIX tar archive (GNU)
| default
| |
100%
| xdgMime
| application/x-tar
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 75 73 72 2f 00 00 00 00 | 00 00 00 00 00 00 00 00 |usr/....|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 00 00 00 00 20 34 30 37 | 35 35 20 00 20 20 20 20 |.... 407|55 . |
|00000070| 20 30 20 00 20 20 20 20 | 20 30 20 00 20 20 20 20 | 0 . | 0 . |
|00000080| 20 20 20 20 20 20 30 20 | 20 35 34 37 34 37 32 36 | 0 | 5474726|
|00000090| 31 37 33 20 20 20 37 36 | 37 30 00 20 35 00 00 00 |173 76|70. 5...|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 75 73 74 61 72 20 20 | 00 72 6f 6f 74 00 00 00 |.ustar |.root...|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 72 6f 6f 74 00 00 00 |........|.root...|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 75 73 72 2f 69 6e 63 6c | 75 64 65 2f 00 00 00 00 |usr/incl|ude/....|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 20 34 30 37 | 35 35 20 00 20 20 20 20 |.... 407|55 . |
|00000270| 20 30 20 00 20 20 20 20 | 20 30 20 00 20 20 20 20 | 0 . | 0 . |
|00000280| 20 20 20 20 20 20 30 20 | 20 35 34 37 34 37 32 36 | 0 | 5474726|
|00000290| 31 33 33 20 20 31 31 33 | 30 37 00 20 35 00 00 00 |133 113|07. 5...|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 75 73 74 61 72 20 20 | 00 72 6f 6f 74 00 00 00 |.ustar |.root...|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 72 6f 6f 74 00 00 00 |........|.root...|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000400| 75 73 72 2f 69 6e 63 6c | 75 64 65 2f 74 63 6c 2f |usr/incl|ude/tcl/|
|00000410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000460| 00 00 00 00 20 34 30 37 | 35 35 20 00 20 20 20 20 |.... 407|55 . |
|00000470| 20 30 20 00 20 20 20 20 | 20 30 20 00 20 20 20 20 | 0 . | 0 . |
|00000480| 20 20 20 20 20 20 30 20 | 20 35 34 37 34 37 32 36 | 0 | 5474726|
|00000490| 33 35 37 20 20 31 32 31 | 30 31 00 20 35 00 00 00 |357 121|01. 5...|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 75 73 74 61 72 20 20 | 00 72 6f 6f 74 00 00 00 |.ustar |.root...|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 72 6f 6f 74 00 00 00 |........|.root...|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 75 73 72 2f 69 6e 63 6c | 75 64 65 2f 74 63 6c 2f |usr/incl|ude/tcl/|
|00000610| 74 63 6c 2e 68 00 00 00 | 00 00 00 00 00 00 00 00 |tcl.h...|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 31 30 30 36 | 34 34 20 00 20 20 20 20 |....1006|44 . |
|00000670| 20 30 20 00 20 20 20 20 | 20 30 20 00 20 20 20 20 | 0 . | 0 . |
|00000680| 20 20 35 33 32 36 36 20 | 20 35 34 37 34 37 32 36 | 53266 | 5474726|
|00000690| 31 36 37 20 20 31 33 31 | 36 34 00 20 30 00 00 00 |167 131|64. 0...|
|000006a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000700| 00 75 73 74 61 72 20 20 | 00 72 6f 6f 74 00 00 00 |.ustar |.root...|
|00000710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000720| 00 00 00 00 00 00 00 00 | 00 72 6f 6f 74 00 00 00 |........|.root...|
|00000730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000800| 2f 2a 0a 20 2a 20 74 63 | 6c 2e 68 20 2d 2d 0a 20 |/*. * tc|l.h --. |
|00000810| 2a 0a 20 2a 09 54 68 69 | 73 20 68 65 61 64 65 72 |*. *.Thi|s header|
|00000820| 20 66 69 6c 65 20 64 65 | 73 63 72 69 62 65 73 20 | file de|scribes |
|00000830| 74 68 65 20 65 78 74 65 | 72 6e 61 6c 6c 79 2d 76 |the exte|rnally-v|
|00000840| 69 73 69 62 6c 65 20 66 | 61 63 69 6c 69 74 69 65 |isible f|acilitie|
|00000850| 73 0a 20 2a 09 6f 66 20 | 74 68 65 20 54 63 6c 20 |s. *.of |the Tcl |
|00000860| 69 6e 74 65 72 70 72 65 | 74 65 72 2e 0a 20 2a 0a |interpre|ter.. *.|
|00000870| 20 2a 20 43 6f 70 79 72 | 69 67 68 74 20 28 63 29 | * Copyr|ight (c)|
|00000880| 20 31 39 38 37 2d 31 39 | 39 33 20 54 68 65 20 52 | 1987-19|93 The R|
|00000890| 65 67 65 6e 74 73 20 6f | 66 20 74 68 65 20 55 6e |egents o|f the Un|
|000008a0| 69 76 65 72 73 69 74 79 | 20 6f 66 20 43 61 6c 69 |iversity| of Cali|
|000008b0| 66 6f 72 6e 69 61 2e 0a | 20 2a 20 41 6c 6c 20 72 |fornia..| * All r|
|000008c0| 69 67 68 74 73 20 72 65 | 73 65 72 76 65 64 2e 0a |ights re|served..|
|000008d0| 20 2a 0a 20 2a 20 50 65 | 72 6d 69 73 73 69 6f 6e | *. * Pe|rmission|
|000008e0| 20 69 73 20 68 65 72 65 | 62 79 20 67 72 61 6e 74 | is here|by grant|
|000008f0| 65 64 2c 20 77 69 74 68 | 6f 75 74 20 77 72 69 74 |ed, with|out writ|
|00000900| 74 65 6e 20 61 67 72 65 | 65 6d 65 6e 74 20 61 6e |ten agre|ement an|
|00000910| 64 20 77 69 74 68 6f 75 | 74 0a 20 2a 20 6c 69 63 |d withou|t. * lic|
|00000920| 65 6e 73 65 20 6f 72 20 | 72 6f 79 61 6c 74 79 20 |ense or |royalty |
|00000930| 66 65 65 73 2c 20 74 6f | 20 75 73 65 2c 20 63 6f |fees, to| use, co|
|00000940| 70 79 2c 20 6d 6f 64 69 | 66 79 2c 20 61 6e 64 20 |py, modi|fy, and |
|00000950| 64 69 73 74 72 69 62 75 | 74 65 20 74 68 69 73 0a |distribu|te this.|
|00000960| 20 2a 20 73 6f 66 74 77 | 61 72 65 20 61 6e 64 20 | * softw|are and |
|00000970| 69 74 73 20 64 6f 63 75 | 6d 65 6e 74 61 74 69 6f |its docu|mentatio|
|00000980| 6e 20 66 6f 72 20 61 6e | 79 20 70 75 72 70 6f 73 |n for an|y purpos|
|00000990| 65 2c 20 70 72 6f 76 69 | 64 65 64 20 74 68 61 74 |e, provi|ded that|
|000009a0| 20 74 68 65 0a 20 2a 20 | 61 62 6f 76 65 20 63 6f | the. * |above co|
|000009b0| 70 79 72 69 67 68 74 20 | 6e 6f 74 69 63 65 20 61 |pyright |notice a|
|000009c0| 6e 64 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |nd the f|ollowing|
|000009d0| 20 74 77 6f 20 70 61 72 | 61 67 72 61 70 68 73 20 | two par|agraphs |
|000009e0| 61 70 70 65 61 72 20 69 | 6e 0a 20 2a 20 61 6c 6c |appear i|n. * all|
|000009f0| 20 63 6f 70 69 65 73 20 | 6f 66 20 74 68 69 73 20 | copies |of this |
|00000a00| 73 6f 66 74 77 61 72 65 | 2e 0a 20 2a 20 0a 20 2a |software|.. * . *|
|00000a10| 20 49 4e 20 4e 4f 20 45 | 56 45 4e 54 20 53 48 41 | IN NO E|VENT SHA|
|00000a20| 4c 4c 20 54 48 45 20 55 | 4e 49 56 45 52 53 49 54 |LL THE U|NIVERSIT|
|00000a30| 59 20 4f 46 20 43 41 4c | 49 46 4f 52 4e 49 41 20 |Y OF CAL|IFORNIA |
|00000a40| 42 45 20 4c 49 41 42 4c | 45 20 54 4f 20 41 4e 59 |BE LIABL|E TO ANY|
|00000a50| 20 50 41 52 54 59 20 46 | 4f 52 0a 20 2a 20 44 49 | PARTY F|OR. * DI|
|00000a60| 52 45 43 54 2c 20 49 4e | 44 49 52 45 43 54 2c 20 |RECT, IN|DIRECT, |
|00000a70| 53 50 45 43 49 41 4c 2c | 20 49 4e 43 49 44 45 4e |SPECIAL,| INCIDEN|
|00000a80| 54 41 4c 2c 20 4f 52 20 | 43 4f 4e 53 45 51 55 45 |TAL, OR |CONSEQUE|
|00000a90| 4e 54 49 41 4c 20 44 41 | 4d 41 47 45 53 20 41 52 |NTIAL DA|MAGES AR|
|00000aa0| 49 53 49 4e 47 20 4f 55 | 54 0a 20 2a 20 4f 46 20 |ISING OU|T. * OF |
|00000ab0| 54 48 45 20 55 53 45 20 | 4f 46 20 54 48 49 53 20 |THE USE |OF THIS |
|00000ac0| 53 4f 46 54 57 41 52 45 | 20 41 4e 44 20 49 54 53 |SOFTWARE| AND ITS|
|00000ad0| 20 44 4f 43 55 4d 45 4e | 54 41 54 49 4f 4e 2c 20 | DOCUMEN|TATION, |
|00000ae0| 45 56 45 4e 20 49 46 20 | 54 48 45 20 55 4e 49 56 |EVEN IF |THE UNIV|
|00000af0| 45 52 53 49 54 59 20 4f | 46 0a 20 2a 20 43 41 4c |ERSITY O|F. * CAL|
|00000b00| 49 46 4f 52 4e 49 41 20 | 48 41 53 20 42 45 45 4e |IFORNIA |HAS BEEN|
|00000b10| 20 41 44 56 49 53 45 44 | 20 4f 46 20 54 48 45 20 | ADVISED| OF THE |
|00000b20| 50 4f 53 53 49 42 49 4c | 49 54 59 20 4f 46 20 53 |POSSIBIL|ITY OF S|
|00000b30| 55 43 48 20 44 41 4d 41 | 47 45 2e 0a 20 2a 0a 20 |UCH DAMA|GE.. *. |
|00000b40| 2a 20 54 48 45 20 55 4e | 49 56 45 52 53 49 54 59 |* THE UN|IVERSITY|
|00000b50| 20 4f 46 20 43 41 4c 49 | 46 4f 52 4e 49 41 20 53 | OF CALI|FORNIA S|
|00000b60| 50 45 43 49 46 49 43 41 | 4c 4c 59 20 44 49 53 43 |PECIFICA|LLY DISC|
|00000b70| 4c 41 49 4d 53 20 41 4e | 59 20 57 41 52 52 41 4e |LAIMS AN|Y WARRAN|
|00000b80| 54 49 45 53 2c 0a 20 2a | 20 49 4e 43 4c 55 44 49 |TIES,. *| INCLUDI|
|00000b90| 4e 47 2c 20 42 55 54 20 | 4e 4f 54 20 4c 49 4d 49 |NG, BUT |NOT LIMI|
|00000ba0| 54 45 44 20 54 4f 2c 20 | 54 48 45 20 49 4d 50 4c |TED TO, |THE IMPL|
|00000bb0| 49 45 44 20 57 41 52 52 | 41 4e 54 49 45 53 20 4f |IED WARR|ANTIES O|
|00000bc0| 46 20 4d 45 52 43 48 41 | 4e 54 41 42 49 4c 49 54 |F MERCHA|NTABILIT|
|00000bd0| 59 0a 20 2a 20 41 4e 44 | 20 46 49 54 4e 45 53 53 |Y. * AND| FITNESS|
|00000be0| 20 46 4f 52 20 41 20 50 | 41 52 54 49 43 55 4c 41 | FOR A P|ARTICULA|
|00000bf0| 52 20 50 55 52 50 4f 53 | 45 2e 20 20 54 48 45 20 |R PURPOS|E. THE |
|00000c00| 53 4f 46 54 57 41 52 45 | 20 50 52 4f 56 49 44 45 |SOFTWARE| PROVIDE|
|00000c10| 44 20 48 45 52 45 55 4e | 44 45 52 20 49 53 0a 20 |D HEREUN|DER IS. |
|00000c20| 2a 20 4f 4e 20 41 4e 20 | 22 41 53 20 49 53 22 20 |* ON AN |"AS IS" |
|00000c30| 42 41 53 49 53 2c 20 41 | 4e 44 20 54 48 45 20 55 |BASIS, A|ND THE U|
|00000c40| 4e 49 56 45 52 53 49 54 | 59 20 4f 46 20 43 41 4c |NIVERSIT|Y OF CAL|
|00000c50| 49 46 4f 52 4e 49 41 20 | 48 41 53 20 4e 4f 20 4f |IFORNIA |HAS NO O|
|00000c60| 42 4c 49 47 41 54 49 4f | 4e 20 54 4f 0a 20 2a 20 |BLIGATIO|N TO. * |
|00000c70| 50 52 4f 56 49 44 45 20 | 4d 41 49 4e 54 45 4e 41 |PROVIDE |MAINTENA|
|00000c80| 4e 43 45 2c 20 53 55 50 | 50 4f 52 54 2c 20 55 50 |NCE, SUP|PORT, UP|
|00000c90| 44 41 54 45 53 2c 20 45 | 4e 48 41 4e 43 45 4d 45 |DATES, E|NHANCEME|
|00000ca0| 4e 54 53 2c 20 4f 52 20 | 4d 4f 44 49 46 49 43 41 |NTS, OR |MODIFICA|
|00000cb0| 54 49 4f 4e 53 2e 0a 20 | 2a 0a 20 2a 20 24 48 65 |TIONS.. |*. * $He|
|00000cc0| 61 64 65 72 3a 20 2f 75 | 73 65 72 36 2f 6f 75 73 |ader: /u|ser6/ous|
|00000cd0| 74 65 72 2f 74 63 6c 2f | 52 43 53 2f 74 63 6c 2e |ter/tcl/|RCS/tcl.|
|00000ce0| 68 2c 76 20 31 2e 31 33 | 31 20 39 33 2f 31 31 2f |h,v 1.13|1 93/11/|
|00000cf0| 32 31 20 31 34 3a 35 30 | 3a 33 35 20 6f 75 73 74 |21 14:50|:35 oust|
|00000d00| 65 72 20 45 78 70 20 24 | 20 53 50 52 49 54 45 20 |er Exp $| SPRITE |
|00000d10| 28 42 65 72 6b 65 6c 65 | 79 29 0a 20 2a 2f 0a 0a |(Berkele|y). */..|
|00000d20| 23 69 66 6e 64 65 66 20 | 5f 54 43 4c 0a 23 64 65 |#ifndef |_TCL.#de|
|00000d30| 66 69 6e 65 20 5f 54 43 | 4c 0a 0a 23 69 66 6e 64 |fine _TC|L..#ifnd|
|00000d40| 65 66 20 42 55 46 53 49 | 5a 0a 23 69 6e 63 6c 75 |ef BUFSI|Z.#inclu|
|00000d50| 64 65 20 3c 73 74 64 69 | 6f 2e 68 3e 0a 23 65 6e |de <stdi|o.h>.#en|
|00000d60| 64 69 66 0a 0a 23 64 65 | 66 69 6e 65 20 54 43 4c |dif..#de|fine TCL|
|00000d70| 5f 56 45 52 53 49 4f 4e | 20 22 37 2e 33 22 0a 23 |_VERSION| "7.3".#|
|00000d80| 64 65 66 69 6e 65 20 54 | 43 4c 5f 4d 41 4a 4f 52 |define T|CL_MAJOR|
|00000d90| 5f 56 45 52 53 49 4f 4e | 20 37 0a 23 64 65 66 69 |_VERSION| 7.#defi|
|00000da0| 6e 65 20 54 43 4c 5f 4d | 49 4e 4f 52 5f 56 45 52 |ne TCL_M|INOR_VER|
|00000db0| 53 49 4f 4e 20 33 0a 0a | 2f 2a 0a 20 2a 20 44 65 |SION 3..|/*. * De|
|00000dc0| 66 69 6e 69 74 69 6f 6e | 73 20 74 68 61 74 20 61 |finition|s that a|
|00000dd0| 6c 6c 6f 77 20 74 68 69 | 73 20 68 65 61 64 65 72 |llow thi|s header|
|00000de0| 20 66 69 6c 65 20 74 6f | 20 62 65 20 75 73 65 64 | file to| be used|
|00000df0| 20 65 69 74 68 65 72 20 | 77 69 74 68 20 6f 72 0a | either |with or.|
|00000e00| 20 2a 20 77 69 74 68 6f | 75 74 20 41 4e 53 49 20 | * witho|ut ANSI |
|00000e10| 43 20 66 65 61 74 75 72 | 65 73 20 6c 69 6b 65 20 |C featur|es like |
|00000e20| 66 75 6e 63 74 69 6f 6e | 20 70 72 6f 74 6f 74 79 |function| prototy|
|00000e30| 70 65 73 2e 0a 20 2a 2f | 0a 0a 23 75 6e 64 65 66 |pes.. */|..#undef|
|00000e40| 20 5f 41 4e 53 49 5f 41 | 52 47 53 5f 0a 23 75 6e | _ANSI_A|RGS_.#un|
|00000e50| 64 65 66 20 43 4f 4e 53 | 54 0a 23 69 66 20 28 28 |def CONS|T.#if ((|
|00000e60| 64 65 66 69 6e 65 64 28 | 5f 5f 53 54 44 43 5f 5f |defined(|__STDC__|
|00000e70| 29 20 7c 7c 20 64 65 66 | 69 6e 65 64 28 53 41 42 |) || def|ined(SAB|
|00000e80| 45 52 29 29 20 26 26 20 | 21 64 65 66 69 6e 65 64 |ER)) && |!defined|
|00000e90| 28 4e 4f 5f 50 52 4f 54 | 4f 54 59 50 45 29 29 20 |(NO_PROT|OTYPE)) |
|00000ea0| 7c 7c 20 64 65 66 69 6e | 65 64 28 5f 5f 63 70 6c ||| defin|ed(__cpl|
|00000eb0| 75 73 70 6c 75 73 29 0a | 23 20 20 20 64 65 66 69 |usplus).|# defi|
|00000ec0| 6e 65 20 5f 55 53 49 4e | 47 5f 50 52 4f 54 4f 54 |ne _USIN|G_PROTOT|
|00000ed0| 59 50 45 53 5f 20 31 0a | 23 20 20 20 64 65 66 69 |YPES_ 1.|# defi|
|00000ee0| 6e 65 20 5f 41 4e 53 49 | 5f 41 52 47 53 5f 28 78 |ne _ANSI|_ARGS_(x|
|00000ef0| 29 09 78 0a 23 20 20 20 | 64 65 66 69 6e 65 20 43 |).x.# |define C|
|00000f00| 4f 4e 53 54 20 63 6f 6e | 73 74 0a 23 20 20 20 69 |ONST con|st.# i|
|00000f10| 66 64 65 66 20 5f 5f 63 | 70 6c 75 73 70 6c 75 73 |fdef __c|plusplus|
|00000f20| 0a 23 20 20 20 20 20 20 | 20 64 65 66 69 6e 65 20 |.# | define |
|00000f30| 56 41 52 41 52 47 53 20 | 28 2e 2e 2e 29 0a 23 20 |VARARGS |(...).# |
|00000f40| 20 20 65 6c 73 65 0a 23 | 20 20 20 20 20 20 20 64 | else.#| d|
|00000f50| 65 66 69 6e 65 20 56 41 | 52 41 52 47 53 20 28 29 |efine VA|RARGS ()|
|00000f60| 0a 23 20 20 20 65 6e 64 | 69 66 0a 23 65 6c 73 65 |.# end|if.#else|
|00000f70| 0a 23 20 20 20 64 65 66 | 69 6e 65 20 5f 41 4e 53 |.# def|ine _ANS|
|00000f80| 49 5f 41 52 47 53 5f 28 | 78 29 09 28 29 0a 23 20 |I_ARGS_(|x).().# |
|00000f90| 20 20 64 65 66 69 6e 65 | 20 43 4f 4e 53 54 0a 23 | define| CONST.#|
|00000fa0| 65 6e 64 69 66 0a 0a 23 | 69 66 64 65 66 20 5f 5f |endif..#|ifdef __|
|00000fb0| 63 70 6c 75 73 70 6c 75 | 73 0a 23 20 20 20 64 65 |cplusplu|s.# de|
|00000fc0| 66 69 6e 65 20 45 58 54 | 45 52 4e 20 65 78 74 65 |fine EXT|ERN exte|
|00000fd0| 72 6e 20 22 43 22 0a 23 | 65 6c 73 65 0a 23 20 20 |rn "C".#|else.# |
|00000fe0| 20 64 65 66 69 6e 65 20 | 45 58 54 45 52 4e 20 65 | define |EXTERN e|
|00000ff0| 78 74 65 72 6e 0a 23 65 | 6e 64 69 66 0a 0a 2f 2a |xtern.#e|ndif../*|
|00001000| 0a 20 2a 20 4d 61 63 72 | 6f 20 74 6f 20 75 73 65 |. * Macr|o to use|
|00001010| 20 69 6e 73 74 65 61 64 | 20 6f 66 20 22 76 6f 69 | instead| of "voi|
|00001020| 64 22 20 66 6f 72 20 61 | 72 67 75 6d 65 6e 74 73 |d" for a|rguments|
|00001030| 20 74 68 61 74 20 6d 75 | 73 74 20 68 61 76 65 0a | that mu|st have.|
|00001040| 20 2a 20 74 79 70 65 20 | 22 76 6f 69 64 20 2a 22 | * type |"void *"|
|00001050| 20 69 6e 20 41 4e 53 49 | 20 43 3b 20 20 6d 61 70 | in ANSI| C; map|
|00001060| 73 20 74 68 65 6d 20 74 | 6f 20 74 79 70 65 20 22 |s them t|o type "|
|00001070| 63 68 61 72 20 2a 22 20 | 69 6e 0a 20 2a 20 6e 6f |char *" |in. * no|
|00001080| 6e 2d 41 4e 53 49 20 73 | 79 73 74 65 6d 73 2e 0a |n-ANSI s|ystems..|
|00001090| 20 2a 2f 0a 0a 23 69 66 | 6e 64 65 66 20 56 4f 49 | */..#if|ndef VOI|
|000010a0| 44 0a 23 20 20 20 69 66 | 64 65 66 20 5f 5f 53 54 |D.# if|def __ST|
|000010b0| 44 43 5f 5f 0a 23 20 20 | 20 20 20 20 20 64 65 66 |DC__.# | def|
|000010c0| 69 6e 65 20 56 4f 49 44 | 20 76 6f 69 64 0a 23 20 |ine VOID| void.# |
|000010d0| 20 20 65 6c 73 65 0a 23 | 20 20 20 20 20 20 20 64 | else.#| d|
|000010e0| 65 66 69 6e 65 20 56 4f | 49 44 20 63 68 61 72 0a |efine VO|ID char.|
|000010f0| 23 20 20 20 65 6e 64 69 | 66 0a 23 65 6e 64 69 66 |# endi|f.#endif|
|00001100| 0a 0a 2f 2a 0a 20 2a 20 | 4d 69 73 63 65 6c 6c 61 |../*. * |Miscella|
|00001110| 6e 65 6f 75 73 20 64 65 | 63 6c 61 72 61 74 69 6f |neous de|claratio|
|00001120| 6e 73 20 28 74 6f 20 61 | 6c 6c 6f 77 20 54 63 6c |ns (to a|llow Tcl|
|00001130| 20 74 6f 20 62 65 20 75 | 73 65 64 20 73 74 61 6e | to be u|sed stan|
|00001140| 64 2d 61 6c 6f 6e 65 2c | 0a 20 2a 20 77 69 74 68 |d-alone,|. * with|
|00001150| 6f 75 74 20 74 68 65 20 | 72 65 73 74 20 6f 66 20 |out the |rest of |
|00001160| 53 70 72 69 74 65 29 2e | 0a 20 2a 2f 0a 0a 23 69 |Sprite).|. */..#i|
|00001170| 66 6e 64 65 66 20 4e 55 | 4c 4c 0a 23 64 65 66 69 |fndef NU|LL.#defi|
|00001180| 6e 65 20 4e 55 4c 4c 20 | 30 0a 23 65 6e 64 69 66 |ne NULL |0.#endif|
|00001190| 0a 0a 23 69 66 6e 64 65 | 66 20 5f 43 4c 49 45 4e |..#ifnde|f _CLIEN|
|000011a0| 54 44 41 54 41 0a 23 20 | 20 20 69 66 64 65 66 20 |TDATA.# | ifdef |
|000011b0| 5f 5f 53 54 44 43 5f 5f | 0a 20 20 20 20 74 79 70 |__STDC__|. typ|
|000011c0| 65 64 65 66 20 76 6f 69 | 64 20 2a 43 6c 69 65 6e |edef voi|d *Clien|
|000011d0| 74 44 61 74 61 3b 0a 23 | 20 20 20 65 6c 73 65 0a |tData;.#| else.|
|000011e0| 20 20 20 20 74 79 70 65 | 64 65 66 20 69 6e 74 20 | type|def int |
|000011f0| 2a 43 6c 69 65 6e 74 44 | 61 74 61 3b 0a 23 20 20 |*ClientD|ata;.# |
|00001200| 20 65 6e 64 69 66 20 2f | 2a 20 5f 5f 53 54 44 43 | endif /|* __STDC|
|00001210| 5f 5f 20 2a 2f 0a 23 64 | 65 66 69 6e 65 20 5f 43 |__ */.#d|efine _C|
|00001220| 4c 49 45 4e 54 44 41 54 | 41 0a 23 65 6e 64 69 66 |LIENTDAT|A.#endif|
|00001230| 0a 0a 2f 2a 0a 20 2a 20 | 44 61 74 61 20 73 74 72 |../*. * |Data str|
|00001240| 75 63 74 75 72 65 73 20 | 64 65 66 69 6e 65 64 20 |uctures |defined |
|00001250| 6f 70 61 71 75 65 6c 79 | 20 69 6e 20 74 68 69 73 |opaquely| in this|
|00001260| 20 6d 6f 64 75 6c 65 2e | 20 20 54 68 65 20 64 65 | module.| The de|
|00001270| 66 69 6e 69 74 69 6f 6e | 73 0a 20 2a 20 62 65 6c |finition|s. * bel|
|00001280| 6f 77 20 6a 75 73 74 20 | 70 72 6f 76 69 64 65 20 |ow just |provide |
|00001290| 64 75 6d 6d 79 20 74 79 | 70 65 73 2e 20 20 41 20 |dummy ty|pes. A |
|000012a0| 66 65 77 20 66 69 65 6c | 64 73 20 61 72 65 20 6d |few fiel|ds are m|
|000012b0| 61 64 65 20 76 69 73 69 | 62 6c 65 20 69 6e 0a 20 |ade visi|ble in. |
|000012c0| 2a 20 54 63 6c 5f 49 6e | 74 65 72 70 20 73 74 72 |* Tcl_In|terp str|
|000012d0| 75 63 74 75 72 65 73 2c | 20 6e 61 6d 65 6c 79 20 |uctures,| namely |
|000012e0| 74 68 6f 73 65 20 66 6f | 72 20 72 65 74 75 72 6e |those fo|r return|
|000012f0| 69 6e 67 20 73 74 72 69 | 6e 67 20 76 61 6c 75 65 |ing stri|ng value|
|00001300| 73 2e 0a 20 2a 20 4e 6f | 74 65 3a 20 20 61 6e 79 |s.. * No|te: any|
|00001310| 20 63 68 61 6e 67 65 20 | 74 6f 20 74 68 65 20 54 | change |to the T|
|00001320| 63 6c 5f 49 6e 74 65 72 | 70 20 64 65 66 69 6e 69 |cl_Inter|p defini|
|00001330| 74 69 6f 6e 20 62 65 6c | 6f 77 20 6d 75 73 74 20 |tion bel|ow must |
|00001340| 62 65 20 6d 69 72 72 6f | 72 65 64 0a 20 2a 20 69 |be mirro|red. * i|
|00001350| 6e 20 74 68 65 20 22 72 | 65 61 6c 22 20 64 65 66 |n the "r|eal" def|
|00001360| 69 6e 69 74 69 6f 6e 20 | 69 6e 20 74 63 6c 49 6e |inition |in tclIn|
|00001370| 74 2e 68 2e 0a 20 2a 2f | 0a 0a 74 79 70 65 64 65 |t.h.. */|..typede|
|00001380| 66 20 73 74 72 75 63 74 | 20 54 63 6c 5f 49 6e 74 |f struct| Tcl_Int|
|00001390| 65 72 70 7b 0a 20 20 20 | 20 63 68 61 72 20 2a 72 |erp{. | char *r|
|000013a0| 65 73 75 6c 74 3b 09 09 | 2f 2a 20 50 6f 69 6e 74 |esult;..|/* Point|
|000013b0| 73 20 74 6f 20 72 65 73 | 75 6c 74 20 73 74 72 69 |s to res|ult stri|
|000013c0| 6e 67 20 72 65 74 75 72 | 6e 65 64 20 62 79 20 6c |ng retur|ned by l|
|000013d0| 61 73 74 0a 09 09 09 09 | 20 2a 20 63 6f 6d 6d 61 |ast.....| * comma|
|000013e0| 6e 64 2e 20 2a 2f 0a 20 | 20 20 20 76 6f 69 64 20 |nd. */. | void |
|000013f0| 28 2a 66 72 65 65 50 72 | 6f 63 29 20 5f 41 4e 53 |(*freePr|oc) _ANS|
|00001400| 49 5f 41 52 47 53 5f 28 | 28 63 68 61 72 20 2a 62 |I_ARGS_(|(char *b|
|00001410| 6c 6f 63 6b 50 74 72 29 | 29 3b 0a 09 09 09 09 2f |lockPtr)|);...../|
|00001420| 2a 20 5a 65 72 6f 20 6d | 65 61 6e 73 20 72 65 73 |* Zero m|eans res|
|00001430| 75 6c 74 20 69 73 20 73 | 74 61 74 69 63 61 6c 6c |ult is s|taticall|
|00001440| 79 20 61 6c 6c 6f 63 61 | 74 65 64 2e 0a 09 09 09 |y alloca|ted.....|
|00001450| 09 20 2a 20 49 66 20 6e | 6f 6e 2d 7a 65 72 6f 2c |. * If n|on-zero,|
|00001460| 20 67 69 76 65 73 20 61 | 64 64 72 65 73 73 20 6f | gives a|ddress o|
|00001470| 66 20 70 72 6f 63 65 64 | 75 72 65 0a 09 09 09 09 |f proced|ure.....|
|00001480| 20 2a 20 74 6f 20 69 6e | 76 6f 6b 65 20 74 6f 20 | * to in|voke to |
|00001490| 66 72 65 65 20 74 68 65 | 20 72 65 73 75 6c 74 2e |free the| result.|
|000014a0| 20 20 4d 75 73 74 20 62 | 65 0a 09 09 09 09 20 2a | Must b|e..... *|
|000014b0| 20 66 72 65 65 64 20 62 | 79 20 54 63 6c 5f 45 76 | freed b|y Tcl_Ev|
|000014c0| 61 6c 20 62 65 66 6f 72 | 65 20 65 78 65 63 75 74 |al befor|e execut|
|000014d0| 69 6e 67 20 6e 65 78 74 | 0a 09 09 09 09 20 2a 20 |ing next|..... * |
|000014e0| 63 6f 6d 6d 61 6e 64 2e | 20 2a 2f 0a 20 20 20 20 |command.| */. |
|000014f0| 69 6e 74 20 65 72 72 6f | 72 4c 69 6e 65 3b 09 09 |int erro|rLine;..|
|00001500| 2f 2a 20 57 68 65 6e 20 | 54 43 4c 5f 45 52 52 4f |/* When |TCL_ERRO|
|00001510| 52 20 69 73 20 72 65 74 | 75 72 6e 65 64 2c 20 74 |R is ret|urned, t|
|00001520| 68 69 73 20 67 69 76 65 | 73 0a 09 09 09 09 20 2a |his give|s..... *|
|00001530| 20 74 68 65 20 6c 69 6e | 65 20 6e 75 6d 62 65 72 | the lin|e number|
|00001540| 20 77 69 74 68 69 6e 20 | 74 68 65 20 63 6f 6d 6d | within |the comm|
|00001550| 61 6e 64 20 77 68 65 72 | 65 0a 09 09 09 09 20 2a |and wher|e..... *|
|00001560| 20 74 68 65 20 65 72 72 | 6f 72 20 6f 63 63 75 72 | the err|or occur|
|00001570| 72 65 64 20 28 31 20 6d | 65 61 6e 73 20 66 69 72 |red (1 m|eans fir|
|00001580| 73 74 20 6c 69 6e 65 29 | 2e 20 2a 2f 0a 7d 20 54 |st line)|. */.} T|
|00001590| 63 6c 5f 49 6e 74 65 72 | 70 3b 0a 0a 74 79 70 65 |cl_Inter|p;..type|
|000015a0| 64 65 66 20 69 6e 74 20 | 2a 54 63 6c 5f 54 72 61 |def int |*Tcl_Tra|
|000015b0| 63 65 3b 0a 74 79 70 65 | 64 65 66 20 73 74 72 75 |ce;.type|def stru|
|000015c0| 63 74 20 54 63 6c 5f 41 | 73 79 6e 63 48 61 6e 64 |ct Tcl_A|syncHand|
|000015d0| 6c 65 72 5f 20 2a 54 63 | 6c 5f 41 73 79 6e 63 48 |ler_ *Tc|l_AsyncH|
|000015e0| 61 6e 64 6c 65 72 3b 0a | 0a 2f 2a 0a 20 2a 20 57 |andler;.|./*. * W|
|000015f0| 68 65 6e 20 61 20 54 43 | 4c 20 63 6f 6d 6d 61 6e |hen a TC|L comman|
|00001600| 64 20 72 65 74 75 72 6e | 73 2c 20 74 68 65 20 73 |d return|s, the s|
|00001610| 74 72 69 6e 67 20 70 6f | 69 6e 74 65 72 20 69 6e |tring po|inter in|
|00001620| 74 65 72 70 2d 3e 72 65 | 73 75 6c 74 20 70 6f 69 |terp->re|sult poi|
|00001630| 6e 74 73 20 74 6f 0a 20 | 2a 20 61 20 73 74 72 69 |nts to. |* a stri|
|00001640| 6e 67 20 63 6f 6e 74 61 | 69 6e 69 6e 67 20 72 65 |ng conta|ining re|
|00001650| 74 75 72 6e 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |turn inf|ormation|
|00001660| 20 66 72 6f 6d 20 74 68 | 65 20 63 6f 6d 6d 61 6e | from th|e comman|
|00001670| 64 2e 20 20 49 6e 20 61 | 64 64 69 74 69 6f 6e 2c |d. In a|ddition,|
|00001680| 0a 20 2a 20 74 68 65 20 | 63 6f 6d 6d 61 6e 64 20 |. * the |command |
|00001690| 70 72 6f 63 65 64 75 72 | 65 20 72 65 74 75 72 6e |procedur|e return|
|000016a0| 73 20 61 6e 20 69 6e 74 | 65 67 65 72 20 76 61 6c |s an int|eger val|
|000016b0| 75 65 2c 20 77 68 69 63 | 68 20 69 73 20 6f 6e 65 |ue, whic|h is one|
|000016c0| 20 6f 66 20 74 68 65 0a | 20 2a 20 66 6f 6c 6c 6f | of the.| * follo|
|000016d0| 77 69 6e 67 3a 0a 20 2a | 0a 20 2a 20 54 43 4c 5f |wing:. *|. * TCL_|
|000016e0| 4f 4b 09 09 43 6f 6d 6d | 61 6e 64 20 63 6f 6d 70 |OK..Comm|and comp|
|000016f0| 6c 65 74 65 64 20 6e 6f | 72 6d 61 6c 6c 79 3b 20 |leted no|rmally; |
|00001700| 20 69 6e 74 65 72 70 2d | 3e 72 65 73 75 6c 74 20 | interp-|>result |
|00001710| 63 6f 6e 74 61 69 6e 73 | 0a 20 2a 09 09 09 74 68 |contains|. *...th|
|00001720| 65 20 63 6f 6d 6d 61 6e | 64 27 73 20 72 65 73 75 |e comman|d's resu|
|00001730| 6c 74 2e 0a 20 2a 20 54 | 43 4c 5f 45 52 52 4f 52 |lt.. * T|CL_ERROR|
|00001740| 09 09 54 68 65 20 63 6f | 6d 6d 61 6e 64 20 63 6f |..The co|mmand co|
|00001750| 75 6c 64 6e 27 74 20 62 | 65 20 63 6f 6d 70 6c 65 |uldn't b|e comple|
|00001760| 74 65 64 20 73 75 63 63 | 65 73 73 66 75 6c 6c 79 |ted succ|essfully|
|00001770| 3b 0a 20 2a 09 09 09 69 | 6e 74 65 72 70 2d 3e 72 |;. *...i|nterp->r|
|00001780| 65 73 75 6c 74 20 64 65 | 73 63 72 69 62 65 73 20 |esult de|scribes |
|00001790| 77 68 61 74 20 77 65 6e | 74 20 77 72 6f 6e 67 2e |what wen|t wrong.|
|000017a0| 0a 20 2a 20 54 43 4c 5f | 52 45 54 55 52 4e 09 09 |. * TCL_|RETURN..|
|000017b0| 54 68 65 20 63 6f 6d 6d | 61 6e 64 20 72 65 71 75 |The comm|and requ|
|000017c0| 65 73 74 73 20 74 68 61 | 74 20 74 68 65 20 63 75 |ests tha|t the cu|
|000017d0| 72 72 65 6e 74 20 70 72 | 6f 63 65 64 75 72 65 0a |rrent pr|ocedure.|
|000017e0| 20 2a 09 09 09 72 65 74 | 75 72 6e 3b 20 20 69 6e | *...ret|urn; in|
|000017f0| 74 65 72 70 2d 3e 72 65 | 73 75 6c 74 20 63 6f 6e |terp->re|sult con|
|00001800| 74 61 69 6e 73 20 74 68 | 65 20 70 72 6f 63 65 64 |tains th|e proced|
|00001810| 75 72 65 27 73 0a 20 2a | 09 09 09 72 65 74 75 72 |ure's. *|...retur|
|00001820| 6e 20 76 61 6c 75 65 2e | 0a 20 2a 20 54 43 4c 5f |n value.|. * TCL_|
|00001830| 42 52 45 41 4b 09 09 54 | 68 65 20 63 6f 6d 6d 61 |BREAK..T|he comma|
|00001840| 6e 64 20 72 65 71 75 65 | 73 74 73 20 74 68 61 74 |nd reque|sts that|
|00001850| 20 74 68 65 20 69 6e 6e | 65 72 6d 6f 73 74 20 6c | the inn|ermost l|
|00001860| 6f 6f 70 0a 20 2a 09 09 | 09 62 65 20 65 78 69 74 |oop. *..|.be exit|
|00001870| 65 64 3b 20 20 69 6e 74 | 65 72 70 2d 3e 72 65 73 |ed; int|erp->res|
|00001880| 75 6c 74 20 69 73 20 6d | 65 61 6e 69 6e 67 6c 65 |ult is m|eaningle|
|00001890| 73 73 2e 0a 20 2a 20 54 | 43 4c 5f 43 4f 4e 54 49 |ss.. * T|CL_CONTI|
|000018a0| 4e 55 45 09 09 47 6f 20 | 6f 6e 20 74 6f 20 74 68 |NUE..Go |on to th|
|000018b0| 65 20 6e 65 78 74 20 69 | 74 65 72 61 74 69 6f 6e |e next i|teration|
|000018c0| 20 6f 66 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 | of the |current |
|000018d0| 6c 6f 6f 70 3b 0a 20 2a | 09 09 09 69 6e 74 65 72 |loop;. *|...inter|
|000018e0| 70 2d 3e 72 65 73 75 6c | 74 20 69 73 20 6d 65 61 |p->resul|t is mea|
|000018f0| 6e 69 6e 67 6c 65 73 73 | 2e 0a 20 2a 2f 0a 0a 23 |ningless|.. */..#|
|00001900| 64 65 66 69 6e 65 20 54 | 43 4c 5f 4f 4b 09 09 30 |define T|CL_OK..0|
|00001910| 0a 23 64 65 66 69 6e 65 | 20 54 43 4c 5f 45 52 52 |.#define| TCL_ERR|
|00001920| 4f 52 09 31 0a 23 64 65 | 66 69 6e 65 20 54 43 4c |OR.1.#de|fine TCL|
|00001930| 5f 52 45 54 55 52 4e 09 | 32 0a 23 64 65 66 69 6e |_RETURN.|2.#defin|
|00001940| 65 20 54 43 4c 5f 42 52 | 45 41 4b 09 33 0a 23 64 |e TCL_BR|EAK.3.#d|
|00001950| 65 66 69 6e 65 20 54 43 | 4c 5f 43 4f 4e 54 49 4e |efine TC|L_CONTIN|
|00001960| 55 45 09 34 0a 0a 23 64 | 65 66 69 6e 65 20 54 43 |UE.4..#d|efine TC|
|00001970| 4c 5f 52 45 53 55 4c 54 | 5f 53 49 5a 45 20 32 30 |L_RESULT|_SIZE 20|
|00001980| 30 0a 0a 2f 2a 0a 20 2a | 20 41 72 67 75 6d 65 6e |0../*. *| Argumen|
|00001990| 74 20 64 65 73 63 72 69 | 70 74 6f 72 73 20 66 6f |t descri|ptors fo|
|000019a0| 72 20 6d 61 74 68 20 66 | 75 6e 63 74 69 6f 6e 20 |r math f|unction |
|000019b0| 63 61 6c 6c 62 61 63 6b | 73 20 69 6e 20 65 78 70 |callback|s in exp|
|000019c0| 72 65 73 73 69 6f 6e 73 | 3a 0a 20 2a 2f 0a 0a 74 |ressions|:. */..t|
|000019d0| 79 70 65 64 65 66 20 65 | 6e 75 6d 20 7b 54 43 4c |ypedef e|num {TCL|
|000019e0| 5f 49 4e 54 2c 20 54 43 | 4c 5f 44 4f 55 42 4c 45 |_INT, TC|L_DOUBLE|
|000019f0| 2c 20 54 43 4c 5f 45 49 | 54 48 45 52 7d 20 54 63 |, TCL_EI|THER} Tc|
|00001a00| 6c 5f 56 61 6c 75 65 54 | 79 70 65 3b 0a 74 79 70 |l_ValueT|ype;.typ|
|00001a10| 65 64 65 66 20 73 74 72 | 75 63 74 20 54 63 6c 5f |edef str|uct Tcl_|
|00001a20| 56 61 6c 75 65 20 7b 0a | 20 20 20 20 54 63 6c 5f |Value {.| Tcl_|
|00001a30| 56 61 6c 75 65 54 79 70 | 65 20 74 79 70 65 3b 09 |ValueTyp|e type;.|
|00001a40| 09 2f 2a 20 49 6e 64 69 | 63 61 74 65 73 20 69 6e |./* Indi|cates in|
|00001a50| 74 56 61 6c 75 65 20 6f | 72 20 64 6f 75 62 6c 65 |tValue o|r double|
|00001a60| 56 61 6c 75 65 20 69 73 | 0a 09 09 09 09 20 2a 20 |Value is|..... * |
|00001a70| 76 61 6c 69 64 2c 20 6f | 72 20 62 6f 74 68 2e 20 |valid, o|r both. |
|00001a80| 2a 2f 0a 20 20 20 20 69 | 6e 74 20 69 6e 74 56 61 |*/. i|nt intVa|
|00001a90| 6c 75 65 3b 09 09 2f 2a | 20 49 6e 74 65 67 65 72 |lue;../*| Integer|
|00001aa0| 20 76 61 6c 75 65 2e 20 | 2a 2f 0a 20 20 20 20 64 | value. |*/. d|
|00001ab0| 6f 75 62 6c 65 20 64 6f | 75 62 6c 65 56 61 6c 75 |ouble do|ubleValu|
|00001ac0| 65 3b 09 09 2f 2a 20 44 | 6f 75 62 6c 65 2d 70 72 |e;../* D|ouble-pr|
|00001ad0| 65 63 69 73 69 6f 6e 20 | 66 6c 6f 61 74 69 6e 67 |ecision |floating|
|00001ae0| 20 76 61 6c 75 65 2e 20 | 2a 2f 0a 7d 20 54 63 6c | value. |*/.} Tcl|
|00001af0| 5f 56 61 6c 75 65 3b 0a | 0a 2f 2a 0a 20 2a 20 50 |_Value;.|./*. * P|
|00001b00| 72 6f 63 65 64 75 72 65 | 20 74 79 70 65 73 20 64 |rocedure| types d|
|00001b10| 65 66 69 6e 65 64 20 62 | 79 20 54 63 6c 3a 0a 20 |efined b|y Tcl:. |
|00001b20| 2a 2f 0a 0a 74 79 70 65 | 64 65 66 20 69 6e 74 20 |*/..type|def int |
|00001b30| 28 54 63 6c 5f 41 73 79 | 6e 63 50 72 6f 63 29 20 |(Tcl_Asy|ncProc) |
|00001b40| 5f 41 4e 53 49 5f 41 52 | 47 53 5f 28 28 43 6c 69 |_ANSI_AR|GS_((Cli|
|00001b50| 65 6e 74 44 61 74 61 20 | 63 6c 69 65 6e 74 44 61 |entData |clientDa|
|00001b60| 74 61 2c 0a 09 54 63 6c | 5f 49 6e 74 65 72 70 20 |ta,..Tcl|_Interp |
|00001b70| 2a 69 6e 74 65 72 70 2c | 20 69 6e 74 20 63 6f 64 |*interp,| int cod|
|00001b80| 65 29 29 3b 0a 74 79 70 | 65 64 65 66 20 76 6f 69 |e));.typ|edef voi|
|00001b90| 64 20 28 54 63 6c 5f 43 | 6d 64 44 65 6c 65 74 65 |d (Tcl_C|mdDelete|
|00001ba0| 50 72 6f 63 29 20 5f 41 | 4e 53 49 5f 41 52 47 53 |Proc) _A|NSI_ARGS|
|00001bb0| 5f 28 28 43 6c 69 65 6e | 74 44 61 74 61 20 63 6c |_((Clien|tData cl|
|00001bc0| 69 65 6e 74 44 61 74 61 | 29 29 3b 0a 74 79 70 65 |ientData|));.type|
|00001bd0| 64 65 66 20 69 6e 74 20 | 28 54 63 6c 5f 43 6d 64 |def int |(Tcl_Cmd|
|00001be0| 50 72 6f 63 29 20 5f 41 | 4e 53 49 5f 41 52 47 53 |Proc) _A|NSI_ARGS|
|00001bf0| 5f 28 28 43 6c 69 65 6e | 74 44 61 74 61 20 63 6c |_((Clien|tData cl|
|00001c00| 69 65 6e 74 44 61 74 61 | 2c 0a 09 54 63 6c 5f 49 |ientData|,..Tcl_I|
|00001c10| 6e 74 65 72 70 20 2a 69 | 6e 74 65 72 70 2c 20 69 |nterp *i|nterp, i|
|00001c20| 6e 74 20 61 72 67 63 2c | 20 63 68 61 72 20 2a 61 |nt argc,| char *a|
|00001c30| 72 67 76 5b 5d 29 29 3b | 0a 74 79 70 65 64 65 66 |rgv[]));|.typedef|
|00001c40| 20 76 6f 69 64 20 28 54 | 63 6c 5f 43 6d 64 54 72 | void (T|cl_CmdTr|
|00001c50| 61 63 65 50 72 6f 63 29 | 20 5f 41 4e 53 49 5f 41 |aceProc)| _ANSI_A|
|00001c60| 52 47 53 5f 28 28 43 6c | 69 65 6e 74 44 61 74 61 |RGS_((Cl|ientData|
|00001c70| 20 63 6c 69 65 6e 74 44 | 61 74 61 2c 0a 09 54 63 | clientD|ata,..Tc|
|00001c80| 6c 5f 49 6e 74 65 72 70 | 20 2a 69 6e 74 65 72 70 |l_Interp| *interp|
|00001c90| 2c 20 69 6e 74 20 6c 65 | 76 65 6c 2c 20 63 68 61 |, int le|vel, cha|
|00001ca0| 72 20 2a 63 6f 6d 6d 61 | 6e 64 2c 20 54 63 6c 5f |r *comma|nd, Tcl_|
|00001cb0| 43 6d 64 50 72 6f 63 20 | 2a 70 72 6f 63 2c 0a 09 |CmdProc |*proc,..|
|00001cc0| 43 6c 69 65 6e 74 44 61 | 74 61 20 63 6d 64 43 6c |ClientDa|ta cmdCl|
|00001cd0| 69 65 6e 74 44 61 74 61 | 2c 20 69 6e 74 20 61 72 |ientData|, int ar|
|00001ce0| 67 63 2c 20 63 68 61 72 | 20 2a 61 72 67 76 5b 5d |gc, char| *argv[]|
|00001cf0| 29 29 3b 0a 74 79 70 65 | 64 65 66 20 76 6f 69 64 |));.type|def void|
|00001d00| 20 28 54 63 6c 5f 46 72 | 65 65 50 72 6f 63 29 20 | (Tcl_Fr|eeProc) |
|00001d10| 5f 41 4e 53 49 5f 41 52 | 47 53 5f 28 28 63 68 61 |_ANSI_AR|GS_((cha|
|00001d20| 72 20 2a 62 6c 6f 63 6b | 50 74 72 29 29 3b 0a 74 |r *block|Ptr));.t|
|00001d30| 79 70 65 64 65 66 20 76 | 6f 69 64 20 28 54 63 6c |ypedef v|oid (Tcl|
|00001d40| 5f 49 6e 74 65 72 70 44 | 65 6c 65 74 65 50 72 6f |_InterpD|eletePro|
|00001d50| 63 29 20 5f 41 4e 53 49 | 5f 41 52 47 53 5f 28 28 |c) _ANSI|_ARGS_((|
|00001d60| 43 6c 69 65 6e 74 44 61 | 74 61 20 63 6c 69 65 6e |ClientDa|ta clien|
|00001d70| 74 44 61 74 61 2c 0a 09 | 54 63 6c 5f 49 6e 74 65 |tData,..|Tcl_Inte|
|00001d80| 72 70 20 2a 69 6e 74 65 | 72 70 29 29 3b 0a 74 79 |rp *inte|rp));.ty|
|00001d90| 70 65 64 65 66 20 69 6e | 74 20 28 54 63 6c 5f 4d |pedef in|t (Tcl_M|
|00001da0| 61 74 68 50 72 6f 63 29 | 20 5f 41 4e 53 49 5f 41 |athProc)| _ANSI_A|
|00001db0| 52 47 53 5f 28 28 43 6c | 69 65 6e 74 44 61 74 61 |RGS_((Cl|ientData|
|00001dc0| 20 63 6c 69 65 6e 74 44 | 61 74 61 2c 0a 09 54 63 | clientD|ata,..Tc|
|00001dd0| 6c 5f 49 6e 74 65 72 70 | 20 2a 69 6e 74 65 72 70 |l_Interp| *interp|
|00001de0| 2c 20 54 63 6c 5f 56 61 | 6c 75 65 20 2a 61 72 67 |, Tcl_Va|lue *arg|
|00001df0| 73 2c 20 54 63 6c 5f 56 | 61 6c 75 65 20 2a 72 65 |s, Tcl_V|alue *re|
|00001e00| 73 75 6c 74 50 74 72 29 | 29 3b 0a 74 79 70 65 64 |sultPtr)|);.typed|
|00001e10| 65 66 20 63 68 61 72 20 | 2a 28 54 63 6c 5f 56 61 |ef char |*(Tcl_Va|
|00001e20| 72 54 72 61 63 65 50 72 | 6f 63 29 20 5f 41 4e 53 |rTracePr|oc) _ANS|
|00001e30| 49 5f 41 52 47 53 5f 28 | 28 43 6c 69 65 6e 74 44 |I_ARGS_(|(ClientD|
|00001e40| 61 74 61 20 63 6c 69 65 | 6e 74 44 61 74 61 2c 0a |ata clie|ntData,.|
|00001e50| 09 54 63 6c 5f 49 6e 74 | 65 72 70 20 2a 69 6e 74 |.Tcl_Int|erp *int|
|00001e60| 65 72 70 2c 20 63 68 61 | 72 20 2a 70 61 72 74 31 |erp, cha|r *part1|
|00001e70| 2c 20 63 68 61 72 20 2a | 70 61 72 74 32 2c 20 69 |, char *|part2, i|
|00001e80| 6e 74 20 66 6c 61 67 73 | 29 29 3b 0a 0a 2f 2a 0a |nt flags|));../*.|
|00001e90| 20 2a 20 54 68 65 20 73 | 74 72 75 63 74 75 72 65 | * The s|tructure|
|00001ea0| 20 72 65 74 75 72 6e 65 | 64 20 62 79 20 54 63 6c | returne|d by Tcl|
|00001eb0| 5f 47 65 74 43 6d 64 49 | 6e 66 6f 20 61 6e 64 20 |_GetCmdI|nfo and |
|00001ec0| 70 61 73 73 65 64 20 69 | 6e 74 6f 0a 20 2a 20 54 |passed i|nto. * T|
|00001ed0| 63 6c 5f 53 65 74 43 6d | 64 49 6e 66 6f 3a 0a 20 |cl_SetCm|dInfo:. |
|00001ee0| 2a 2f 0a 0a 74 79 70 65 | 64 65 66 20 73 74 72 75 |*/..type|def stru|
|00001ef0| 63 74 20 54 63 6c 5f 43 | 6d 64 49 6e 66 6f 20 7b |ct Tcl_C|mdInfo {|
|00001f00| 0a 20 20 20 20 54 63 6c | 5f 43 6d 64 50 72 6f 63 |. Tcl|_CmdProc|
|00001f10| 20 2a 70 72 6f 63 3b 09 | 09 09 2f 2a 20 50 72 6f | *proc;.|../* Pro|
|00001f20| 63 65 64 75 72 65 20 74 | 68 61 74 20 69 6d 70 6c |cedure t|hat impl|
|00001f30| 65 6d 65 6e 74 73 20 63 | 6f 6d 6d 61 6e 64 2e 20 |ements c|ommand. |
|00001f40| 2a 2f 0a 20 20 20 20 43 | 6c 69 65 6e 74 44 61 74 |*/. C|lientDat|
|00001f50| 61 20 63 6c 69 65 6e 74 | 44 61 74 61 3b 09 09 2f |a client|Data;../|
|00001f60| 2a 20 43 6c 69 65 6e 74 | 44 61 74 61 20 70 61 73 |* Client|Data pas|
|00001f70| 73 65 64 20 74 6f 20 70 | 72 6f 63 2e 20 2a 2f 0a |sed to p|roc. */.|
|00001f80| 20 20 20 20 54 63 6c 5f | 43 6d 64 44 65 6c 65 74 | Tcl_|CmdDelet|
|00001f90| 65 50 72 6f 63 20 2a 64 | 65 6c 65 74 65 50 72 6f |eProc *d|eletePro|
|00001fa0| 63 3b 09 2f 2a 20 50 72 | 6f 63 65 64 75 72 65 20 |c;./* Pr|ocedure |
|00001fb0| 74 6f 20 63 61 6c 6c 20 | 77 68 65 6e 20 63 6f 6d |to call |when com|
|00001fc0| 6d 61 6e 64 0a 09 09 09 | 09 09 20 2a 20 69 73 20 |mand....|.. * is |
|00001fd0| 64 65 6c 65 74 65 64 2e | 20 2a 2f 0a 20 20 20 20 |deleted.| */. |
|00001fe0| 43 6c 69 65 6e 74 44 61 | 74 61 20 64 65 6c 65 74 |ClientDa|ta delet|
|00001ff0| 65 44 61 74 61 3b 09 09 | 2f 2a 20 56 61 6c 75 65 |eData;..|/* Value|
|00002000| 20 74 6f 20 70 61 73 73 | 20 74 6f 20 64 65 6c 65 | to pass| to dele|
|00002010| 74 65 50 72 6f 63 20 28 | 75 73 75 61 6c 6c 79 0a |teProc (|usually.|
|00002020| 09 09 09 09 09 20 2a 20 | 74 68 65 20 73 61 6d 65 |..... * |the same|
|00002030| 20 61 73 20 63 6c 69 65 | 6e 74 44 61 74 61 29 2e | as clie|ntData).|
|00002040| 20 2a 2f 0a 7d 20 54 63 | 6c 5f 43 6d 64 49 6e 66 | */.} Tc|l_CmdInf|
|00002050| 6f 3b 0a 0a 2f 2a 0a 20 | 2a 20 54 68 65 20 73 74 |o;../*. |* The st|
|00002060| 72 75 63 74 75 72 65 20 | 64 65 66 69 6e 65 64 20 |ructure |defined |
|00002070| 62 65 6c 6f 77 20 69 73 | 20 75 73 65 64 20 74 6f |below is| used to|
|00002080| 20 68 6f 6c 64 20 64 79 | 6e 61 6d 69 63 20 73 74 | hold dy|namic st|
|00002090| 72 69 6e 67 73 2e 20 20 | 54 68 65 20 6f 6e 6c 79 |rings. |The only|
|000020a0| 0a 20 2a 20 66 69 65 6c | 64 20 74 68 61 74 20 63 |. * fiel|d that c|
|000020b0| 6c 69 65 6e 74 73 20 73 | 68 6f 75 6c 64 20 75 73 |lients s|hould us|
|000020c0| 65 20 69 73 20 74 68 65 | 20 73 74 72 69 6e 67 20 |e is the| string |
|000020d0| 66 69 65 6c 64 2c 20 61 | 6e 64 20 74 68 65 79 20 |field, a|nd they |
|000020e0| 73 68 6f 75 6c 64 0a 20 | 2a 20 6e 65 76 65 72 20 |should. |* never |
|000020f0| 6d 6f 64 69 66 79 20 69 | 74 2e 0a 20 2a 2f 0a 0a |modify i|t.. */..|
|00002100| 23 64 65 66 69 6e 65 20 | 54 43 4c 5f 44 53 54 52 |#define |TCL_DSTR|
|00002110| 49 4e 47 5f 53 54 41 54 | 49 43 5f 53 49 5a 45 20 |ING_STAT|IC_SIZE |
|00002120| 32 30 30 0a 74 79 70 65 | 64 65 66 20 73 74 72 75 |200.type|def stru|
|00002130| 63 74 20 54 63 6c 5f 44 | 53 74 72 69 6e 67 20 7b |ct Tcl_D|String {|
|00002140| 0a 20 20 20 20 63 68 61 | 72 20 2a 73 74 72 69 6e |. cha|r *strin|
|00002150| 67 3b 09 09 2f 2a 20 50 | 6f 69 6e 74 73 20 74 6f |g;../* P|oints to|
|00002160| 20 62 65 67 69 6e 6e 69 | 6e 67 20 6f 66 20 73 74 | beginni|ng of st|
|00002170| 72 69 6e 67 3a 20 20 65 | 69 74 68 65 72 0a 09 09 |ring: e|ither...|
|00002180| 09 09 20 2a 20 73 74 61 | 74 69 63 53 70 61 63 65 |.. * sta|ticSpace|
|00002190| 20 62 65 6c 6f 77 20 6f | 72 20 61 20 6d 61 6c 6c | below o|r a mall|
|000021a0| 6f 63 27 65 64 20 61 72 | 72 61 79 2e 20 2a 2f 0a |oc'ed ar|ray. */.|
|000021b0| 20 20 20 20 69 6e 74 20 | 6c 65 6e 67 74 68 3b 09 | int |length;.|
|000021c0| 09 09 2f 2a 20 4e 75 6d | 62 65 72 20 6f 66 20 6e |../* Num|ber of n|
|000021d0| 6f 6e 2d 4e 55 4c 4c 20 | 63 68 61 72 61 63 74 65 |on-NULL |characte|
|000021e0| 72 73 20 69 6e 20 74 68 | 65 0a 09 09 09 09 20 2a |rs in th|e..... *|
|000021f0| 20 73 74 72 69 6e 67 2e | 20 2a 2f 0a 20 20 20 20 | string.| */. |
|00002200| 69 6e 74 20 73 70 61 63 | 65 41 76 6c 3b 09 09 2f |int spac|eAvl;../|
|00002210| 2a 20 54 6f 74 61 6c 20 | 6e 75 6d 62 65 72 20 6f |* Total |number o|
|00002220| 66 20 62 79 74 65 73 20 | 61 76 61 69 6c 61 62 6c |f bytes |availabl|
|00002230| 65 20 66 6f 72 20 74 68 | 65 0a 09 09 09 09 20 2a |e for th|e..... *|
|00002240| 20 73 74 72 69 6e 67 20 | 61 6e 64 20 69 74 73 20 | string |and its |
|00002250| 74 65 72 6d 69 6e 61 74 | 69 6e 67 20 4e 55 4c 4c |terminat|ing NULL|
|00002260| 20 63 68 61 72 2e 20 2a | 2f 0a 20 20 20 20 63 68 | char. *|/. ch|
|00002270| 61 72 20 73 74 61 74 69 | 63 53 70 61 63 65 5b 54 |ar stati|cSpace[T|
|00002280| 43 4c 5f 44 53 54 52 49 | 4e 47 5f 53 54 41 54 49 |CL_DSTRI|NG_STATI|
|00002290| 43 5f 53 49 5a 45 5d 3b | 0a 09 09 09 09 2f 2a 20 |C_SIZE];|...../* |
|000022a0| 53 70 61 63 65 20 74 6f | 20 75 73 65 20 69 6e 20 |Space to| use in |
|000022b0| 63 6f 6d 6d 6f 6e 20 63 | 61 73 65 20 77 68 65 72 |common c|ase wher|
|000022c0| 65 20 73 74 72 69 6e 67 | 0a 09 09 09 09 20 2a 20 |e string|..... * |
|000022d0| 69 73 20 73 6d 61 6c 6c | 2e 20 2a 2f 0a 7d 20 54 |is small|. */.} T|
|000022e0| 63 6c 5f 44 53 74 72 69 | 6e 67 3b 0a 0a 23 64 65 |cl_DStri|ng;..#de|
|000022f0| 66 69 6e 65 20 54 63 6c | 5f 44 53 74 72 69 6e 67 |fine Tcl|_DString|
|00002300| 4c 65 6e 67 74 68 28 64 | 73 50 74 72 29 20 28 28 |Length(d|sPtr) ((|
|00002310| 64 73 50 74 72 29 2d 3e | 6c 65 6e 67 74 68 29 0a |dsPtr)->|length).|
|00002320| 23 64 65 66 69 6e 65 20 | 54 63 6c 5f 44 53 74 72 |#define |Tcl_DStr|
|00002330| 69 6e 67 56 61 6c 75 65 | 28 64 73 50 74 72 29 20 |ingValue|(dsPtr) |
|00002340| 28 28 64 73 50 74 72 29 | 2d 3e 73 74 72 69 6e 67 |((dsPtr)|->string|
|00002350| 29 0a 0a 2f 2a 0a 20 2a | 20 44 65 66 69 6e 69 74 |)../*. *| Definit|
|00002360| 69 6f 6e 73 20 66 6f 72 | 20 74 68 65 20 6d 61 78 |ions for| the max|
|00002370| 69 6d 75 6d 20 6e 75 6d | 62 65 72 20 6f 66 20 64 |imum num|ber of d|
|00002380| 69 67 69 74 73 20 6f 66 | 20 70 72 65 63 69 73 69 |igits of| precisi|
|00002390| 6f 6e 20 74 68 61 74 20 | 6d 61 79 0a 20 2a 20 62 |on that |may. * b|
|000023a0| 65 20 73 70 65 63 69 66 | 69 65 64 20 69 6e 20 74 |e specif|ied in t|
|000023b0| 68 65 20 22 74 63 6c 5f | 70 72 65 63 69 73 69 6f |he "tcl_|precisio|
|000023c0| 6e 22 20 76 61 72 69 61 | 62 6c 65 2c 20 61 6e 64 |n" varia|ble, and|
|000023d0| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 0a 20 | the num|ber of. |
|000023e0| 2a 20 63 68 61 72 61 63 | 74 65 72 73 20 6f 66 20 |* charac|ters of |
|000023f0| 62 75 66 66 65 72 20 73 | 70 61 63 65 20 72 65 71 |buffer s|pace req|
|00002400| 75 69 72 65 64 20 62 79 | 20 54 63 6c 5f 50 72 69 |uired by| Tcl_Pri|
|00002410| 6e 74 44 6f 75 62 6c 65 | 2e 0a 20 2a 2f 0a 0a 23 |ntDouble|.. */..#|
|00002420| 64 65 66 69 6e 65 20 54 | 43 4c 5f 4d 41 58 5f 50 |define T|CL_MAX_P|
|00002430| 52 45 43 20 31 37 0a 23 | 64 65 66 69 6e 65 20 54 |REC 17.#|define T|
|00002440| 43 4c 5f 44 4f 55 42 4c | 45 5f 53 50 41 43 45 20 |CL_DOUBL|E_SPACE |
|00002450| 28 54 43 4c 5f 4d 41 58 | 5f 50 52 45 43 2b 31 30 |(TCL_MAX|_PREC+10|
|00002460| 29 0a 0a 2f 2a 0a 20 2a | 20 46 6c 61 67 20 76 61 |)../*. *| Flag va|
|00002470| 6c 75 65 73 20 70 61 73 | 73 65 64 20 74 6f 20 54 |lues pas|sed to T|
|00002480| 63 6c 5f 45 76 61 6c 20 | 28 73 65 65 20 74 68 65 |cl_Eval |(see the|
|00002490| 20 6d 61 6e 20 70 61 67 | 65 20 66 6f 72 20 64 65 | man pag|e for de|
|000024a0| 74 61 69 6c 73 3b 20 20 | 61 6c 73 6f 0a 20 2a 20 |tails; |also. * |
|000024b0| 73 65 65 20 74 63 6c 49 | 6e 74 2e 68 20 66 6f 72 |see tclI|nt.h for|
|000024c0| 20 61 64 64 69 74 69 6f | 6e 61 6c 20 66 6c 61 67 | additio|nal flag|
|000024d0| 73 20 74 68 61 74 20 61 | 72 65 20 6f 6e 6c 79 20 |s that a|re only |
|000024e0| 75 73 65 64 20 69 6e 74 | 65 72 6e 61 6c 6c 79 20 |used int|ernally |
|000024f0| 62 79 0a 20 2a 20 54 63 | 6c 29 3a 0a 20 2a 2f 0a |by. * Tc|l):. */.|
|00002500| 0a 23 64 65 66 69 6e 65 | 20 54 43 4c 5f 42 52 41 |.#define| TCL_BRA|
|00002510| 43 4b 45 54 5f 54 45 52 | 4d 09 31 0a 0a 2f 2a 0a |CKET_TER|M.1../*.|
|00002520| 20 2a 20 46 6c 61 67 20 | 74 68 61 74 20 6d 61 79 | * Flag |that may|
|00002530| 20 62 65 20 70 61 73 73 | 65 64 20 74 6f 20 54 63 | be pass|ed to Tc|
|00002540| 6c 5f 43 6f 6e 76 65 72 | 74 45 6c 65 6d 65 6e 74 |l_Conver|tElement|
|00002550| 20 74 6f 20 66 6f 72 63 | 65 20 69 74 20 6e 6f 74 | to forc|e it not|
|00002560| 20 74 6f 0a 20 2a 20 6f | 75 74 70 75 74 20 62 72 | to. * o|utput br|
|00002570| 61 63 65 73 20 28 63 61 | 72 65 66 75 6c 21 20 20 |aces (ca|reful! |
|00002580| 69 66 20 79 6f 75 20 63 | 68 61 6e 67 65 20 74 68 |if you c|hange th|
|00002590| 69 73 20 66 6c 61 67 20 | 62 65 20 73 75 72 65 20 |is flag |be sure |
|000025a0| 74 6f 20 63 68 61 6e 67 | 65 0a 20 2a 20 74 68 65 |to chang|e. * the|
|000025b0| 20 64 65 66 69 6e 69 74 | 69 6f 6e 73 20 61 74 20 | definit|ions at |
|000025c0| 74 68 65 20 66 72 6f 6e | 74 20 6f 66 20 74 63 6c |the fron|t of tcl|
|000025d0| 55 74 69 6c 2e 63 29 2e | 0a 20 2a 2f 0a 0a 23 64 |Util.c).|. */..#d|
|000025e0| 65 66 69 6e 65 20 54 43 | 4c 5f 44 4f 4e 54 5f 55 |efine TC|L_DONT_U|
|000025f0| 53 45 5f 42 52 41 43 45 | 53 09 31 0a 0a 2f 2a 0a |SE_BRACE|S.1../*.|
|00002600| 20 2a 20 46 6c 61 67 20 | 76 61 6c 75 65 20 70 61 | * Flag |value pa|
|00002610| 73 73 65 64 20 74 6f 20 | 54 63 6c 5f 52 65 63 6f |ssed to |Tcl_Reco|
|00002620| 72 64 41 6e 64 45 76 61 | 6c 20 74 6f 20 72 65 71 |rdAndEva|l to req|
|00002630| 75 65 73 74 20 6e 6f 20 | 65 76 61 6c 75 61 74 69 |uest no |evaluati|
|00002640| 6f 6e 0a 20 2a 20 28 72 | 65 63 6f 72 64 20 6f 6e |on. * (r|ecord on|
|00002650| 6c 79 29 2e 0a 20 2a 2f | 0a 0a 23 64 65 66 69 6e |ly).. */|..#defin|
|00002660| 65 20 54 43 4c 5f 4e 4f | 5f 45 56 41 4c 09 09 2d |e TCL_NO|_EVAL..-|
|00002670| 31 0a 0a 2f 2a 0a 20 2a | 20 53 70 65 63 69 61 6c |1../*. *| Special|
|00002680| 20 66 72 65 65 50 72 6f | 63 20 76 61 6c 75 65 73 | freePro|c values|
|00002690| 20 74 68 61 74 20 6d 61 | 79 20 62 65 20 70 61 73 | that ma|y be pas|
|000026a0| 73 65 64 20 74 6f 20 54 | 63 6c 5f 53 65 74 52 65 |sed to T|cl_SetRe|
|000026b0| 73 75 6c 74 20 28 73 65 | 65 0a 20 2a 20 74 68 65 |sult (se|e. * the|
|000026c0| 20 6d 61 6e 20 70 61 67 | 65 20 66 6f 72 20 64 65 | man pag|e for de|
|000026d0| 74 61 69 6c 73 29 3a 0a | 20 2a 2f 0a 0a 23 64 65 |tails):.| */..#de|
|000026e0| 66 69 6e 65 20 54 43 4c | 5f 56 4f 4c 41 54 49 4c |fine TCL|_VOLATIL|
|000026f0| 45 09 28 28 54 63 6c 5f | 46 72 65 65 50 72 6f 63 |E.((Tcl_|FreeProc|
|00002700| 20 2a 29 20 2d 31 29 0a | 23 64 65 66 69 6e 65 20 | *) -1).|#define |
|00002710| 54 43 4c 5f 53 54 41 54 | 49 43 09 28 28 54 63 6c |TCL_STAT|IC.((Tcl|
|00002720| 5f 46 72 65 65 50 72 6f | 63 20 2a 29 20 30 29 0a |_FreePro|c *) 0).|
|00002730| 23 64 65 66 69 6e 65 20 | 54 43 4c 5f 44 59 4e 41 |#define |TCL_DYNA|
|00002740| 4d 49 43 09 28 28 54 63 | 6c 5f 46 72 65 65 50 72 |MIC.((Tc|l_FreePr|
|00002750| 6f 63 20 2a 29 20 66 72 | 65 65 29 0a 0a 2f 2a 0a |oc *) fr|ee)../*.|
|00002760| 20 2a 20 46 6c 61 67 20 | 76 61 6c 75 65 73 20 70 | * Flag |values p|
|00002770| 61 73 73 65 64 20 74 6f | 20 76 61 72 69 61 62 6c |assed to| variabl|
|00002780| 65 2d 72 65 6c 61 74 65 | 64 20 70 72 6f 63 65 64 |e-relate|d proced|
|00002790| 75 72 65 73 2e 0a 20 2a | 2f 0a 0a 23 64 65 66 69 |ures.. *|/..#defi|
|000027a0| 6e 65 20 54 43 4c 5f 47 | 4c 4f 42 41 4c 5f 4f 4e |ne TCL_G|LOBAL_ON|
|000027b0| 4c 59 09 09 31 0a 23 64 | 65 66 69 6e 65 20 54 43 |LY..1.#d|efine TC|
|000027c0| 4c 5f 41 50 50 45 4e 44 | 5f 56 41 4c 55 45 09 32 |L_APPEND|_VALUE.2|
|000027d0| 0a 23 64 65 66 69 6e 65 | 20 54 43 4c 5f 4c 49 53 |.#define| TCL_LIS|
|000027e0| 54 5f 45 4c 45 4d 45 4e | 54 09 34 0a 23 64 65 66 |T_ELEMEN|T.4.#def|
|000027f0| 69 6e 65 20 54 43 4c 5f | 54 52 41 43 45 5f 52 45 |ine TCL_|TRACE_RE|
|00002800| 41 44 53 09 09 30 78 31 | 30 0a 23 64 65 66 69 6e |ADS..0x1|0.#defin|
|00002810| 65 20 54 43 4c 5f 54 52 | 41 43 45 5f 57 52 49 54 |e TCL_TR|ACE_WRIT|
|00002820| 45 53 09 30 78 32 30 0a | 23 64 65 66 69 6e 65 20 |ES.0x20.|#define |
|00002830| 54 43 4c 5f 54 52 41 43 | 45 5f 55 4e 53 45 54 53 |TCL_TRAC|E_UNSETS|
|00002840| 09 30 78 34 30 0a 23 64 | 65 66 69 6e 65 20 54 43 |.0x40.#d|efine TC|
|00002850| 4c 5f 54 52 41 43 45 5f | 44 45 53 54 52 4f 59 45 |L_TRACE_|DESTROYE|
|00002860| 44 09 30 78 38 30 0a 23 | 64 65 66 69 6e 65 20 54 |D.0x80.#|define T|
|00002870| 43 4c 5f 49 4e 54 45 52 | 50 5f 44 45 53 54 52 4f |CL_INTER|P_DESTRO|
|00002880| 59 45 44 09 30 78 31 30 | 30 0a 23 64 65 66 69 6e |YED.0x10|0.#defin|
|00002890| 65 20 54 43 4c 5f 4c 45 | 41 56 45 5f 45 52 52 5f |e TCL_LE|AVE_ERR_|
|000028a0| 4d 53 47 09 30 78 32 30 | 30 0a 0a 2f 2a 0a 20 2a |MSG.0x20|0../*. *|
|000028b0| 20 54 79 70 65 73 20 66 | 6f 72 20 6c 69 6e 6b 65 | Types f|or linke|
|000028c0| 64 20 76 61 72 69 61 62 | 6c 65 73 3a 0a 20 2a 2f |d variab|les:. */|
|000028d0| 0a 0a 23 64 65 66 69 6e | 65 20 54 43 4c 5f 4c 49 |..#defin|e TCL_LI|
|000028e0| 4e 4b 5f 49 4e 54 09 09 | 31 0a 23 64 65 66 69 6e |NK_INT..|1.#defin|
|000028f0| 65 20 54 43 4c 5f 4c 49 | 4e 4b 5f 44 4f 55 42 4c |e TCL_LI|NK_DOUBL|
|00002900| 45 09 09 32 0a 23 64 65 | 66 69 6e 65 20 54 43 4c |E..2.#de|fine TCL|
|00002910| 5f 4c 49 4e 4b 5f 42 4f | 4f 4c 45 41 4e 09 33 0a |_LINK_BO|OLEAN.3.|
|00002920| 23 64 65 66 69 6e 65 20 | 54 43 4c 5f 4c 49 4e 4b |#define |TCL_LINK|
|00002930| 5f 53 54 52 49 4e 47 09 | 09 34 0a 23 64 65 66 69 |_STRING.|.4.#defi|
|00002940| 6e 65 20 54 43 4c 5f 4c | 49 4e 4b 5f 52 45 41 44 |ne TCL_L|INK_READ|
|00002950| 5f 4f 4e 4c 59 09 30 78 | 38 30 0a 0a 2f 2a 0a 20 |_ONLY.0x|80../*. |
|00002960| 2a 20 50 65 72 6d 69 73 | 73 69 6f 6e 20 66 6c 61 |* Permis|sion fla|
|00002970| 67 73 20 66 6f 72 20 66 | 69 6c 65 73 3a 0a 20 2a |gs for f|iles:. *|
|00002980| 2f 0a 0a 23 64 65 66 69 | 6e 65 20 54 43 4c 5f 46 |/..#defi|ne TCL_F|
|00002990| 49 4c 45 5f 52 45 41 44 | 41 42 4c 45 09 31 0a 23 |ILE_READ|ABLE.1.#|
|000029a0| 64 65 66 69 6e 65 20 54 | 43 4c 5f 46 49 4c 45 5f |define T|CL_FILE_|
|000029b0| 57 52 49 54 41 42 4c 45 | 09 32 0a 0a 2f 2a 0a 20 |WRITABLE|.2../*. |
|000029c0| 2a 20 54 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |* The fo|llowing |
|000029d0| 64 65 63 6c 61 72 61 74 | 69 6f 6e 73 20 65 69 74 |declarat|ions eit|
|000029e0| 68 65 72 20 6d 61 70 20 | 63 6b 61 6c 6c 6f 63 20 |her map |ckalloc |
|000029f0| 61 6e 64 20 63 6b 66 72 | 65 65 20 74 6f 0a 20 2a |and ckfr|ee to. *|
|00002a00| 20 6d 61 6c 6c 6f 63 20 | 61 6e 64 20 66 72 65 65 | malloc |and free|
|00002a10| 2c 20 6f 72 20 74 68 65 | 79 20 6d 61 70 20 74 68 |, or the|y map th|
|00002a20| 65 6d 20 74 6f 20 70 72 | 6f 63 65 64 75 72 65 73 |em to pr|ocedures|
|00002a30| 20 77 69 74 68 20 61 6c | 6c 20 73 6f 72 74 73 0a | with al|l sorts.|
|00002a40| 20 2a 20 6f 66 20 64 65 | 62 75 67 67 69 6e 67 20 | * of de|bugging |
|00002a50| 68 6f 6f 6b 73 20 64 65 | 66 69 6e 65 64 20 69 6e |hooks de|fined in|
|00002a60| 20 74 63 6c 43 6b 61 6c | 6c 6f 63 2e 63 2e 0a 20 | tclCkal|loc.c.. |
|00002a70| 2a 2f 0a 0a 23 69 66 64 | 65 66 20 54 43 4c 5f 4d |*/..#ifd|ef TCL_M|
|00002a80| 45 4d 5f 44 45 42 55 47 | 0a 0a 45 58 54 45 52 4e |EM_DEBUG|..EXTERN|
|00002a90| 20 63 68 61 72 20 2a 09 | 09 54 63 6c 5f 44 62 43 | char *.|.Tcl_DbC|
|00002aa0| 6b 61 6c 6c 6f 63 20 5f | 41 4e 53 49 5f 41 52 47 |kalloc _|ANSI_ARG|
|00002ab0| 53 5f 28 28 75 6e 73 69 | 67 6e 65 64 20 69 6e 74 |S_((unsi|gned int|
|00002ac0| 20 73 69 7a 65 2c 0a 09 | 09 09 20 20 20 20 63 68 | size,..|.. ch|
|00002ad0| 61 72 20 2a 66 69 6c 65 | 2c 20 69 6e 74 20 6c 69 |ar *file|, int li|
|00002ae0| 6e 65 29 29 3b 0a 45 58 | 54 45 52 4e 20 69 6e 74 |ne));.EX|TERN int|
|00002af0| 09 09 54 63 6c 5f 44 62 | 43 6b 66 72 65 65 20 5f |..Tcl_Db|Ckfree _|
|00002b00| 41 4e 53 49 5f 41 52 47 | 53 5f 28 28 63 68 61 72 |ANSI_ARG|S_((char|
|00002b10| 20 2a 70 74 72 2c 0a 09 | 09 09 20 20 20 20 63 68 | *ptr,..|.. ch|
|00002b20| 61 72 20 2a 66 69 6c 65 | 2c 20 69 6e 74 20 6c 69 |ar *file|, int li|
|00002b30| 6e 65 29 29 3b 0a 45 58 | 54 45 52 4e 20 63 68 61 |ne));.EX|TERN cha|
|00002b40| 72 20 2a 09 09 54 63 6c | 5f 44 62 43 6b 72 65 61 |r *..Tcl|_DbCkrea|
|00002b50| 6c 6c 6f 63 20 5f 41 4e | 53 49 5f 41 52 47 53 5f |lloc _AN|SI_ARGS_|
|00002b60| 28 28 63 68 61 72 20 2a | 70 74 72 2c 0a 09 09 09 |((char *|ptr,....|
|00002b70| 20 20 20 20 75 6e 73 69 | 67 6e 65 64 20 69 6e 74 | unsi|gned int|
|00002b80| 20 73 69 7a 65 2c 20 63 | 68 61 72 20 2a 66 69 6c | size, c|har *fil|
|00002b90| 65 2c 20 69 6e 74 20 6c | 69 6e 65 29 29 3b 0a 45 |e, int l|ine));.E|
|00002ba0| 58 54 45 52 4e 20 69 6e | 74 09 09 54 63 6c 5f 44 |XTERN in|t..Tcl_D|
|00002bb0| 75 6d 70 41 63 74 69 76 | 65 4d 65 6d 6f 72 79 20 |umpActiv|eMemory |
|00002bc0| 5f 41 4e 53 49 5f 41 52 | 47 53 5f 28 28 63 68 61 |_ANSI_AR|GS_((cha|
|00002bd0| 72 20 2a 66 69 6c 65 4e | 61 6d 65 29 29 3b 0a 45 |r *fileN|ame));.E|
|00002be0| 58 54 45 52 4e 20 76 6f | 69 64 09 09 54 63 6c 5f |XTERN vo|id..Tcl_|
|00002bf0| 56 61 6c 69 64 61 74 65 | 41 6c 6c 4d 65 6d 6f 72 |Validate|AllMemor|
|00002c00| 79 20 5f 41 4e 53 49 5f | 41 52 47 53 5f 28 28 63 |y _ANSI_|ARGS_((c|
|00002c10| 68 61 72 20 2a 66 69 6c | 65 2c 0a 09 09 09 20 20 |har *fil|e,.... |
|00002c20| 20 20 69 6e 74 20 6c 69 | 6e 65 29 29 3b 0a 23 20 | int li|ne));.# |
|00002c30| 20 64 65 66 69 6e 65 20 | 63 6b 61 6c 6c 6f 63 28 | define |ckalloc(|
|00002c40| 78 29 20 54 63 6c 5f 44 | 62 43 6b 61 6c 6c 6f 63 |x) Tcl_D|bCkalloc|
|00002c50| 28 78 2c 20 5f 5f 46 49 | 4c 45 5f 5f 2c 20 5f 5f |(x, __FI|LE__, __|
|00002c60| 4c 49 4e 45 5f 5f 29 0a | 23 20 20 64 65 66 69 6e |LINE__).|# defin|
|00002c70| 65 20 63 6b 66 72 65 65 | 28 78 29 20 20 54 63 6c |e ckfree|(x) Tcl|
|00002c80| 5f 44 62 43 6b 66 72 65 | 65 28 78 2c 20 5f 5f 46 |_DbCkfre|e(x, __F|
|00002c90| 49 4c 45 5f 5f 2c 20 5f | 5f 4c 49 4e 45 5f 5f 29 |ILE__, _|_LINE__)|
|00002ca0| 0a 23 20 20 64 65 66 69 | 6e 65 20 63 6b 72 65 61 |.# defi|ne ckrea|
|00002cb0| 6c 6c 6f 63 28 78 2c 79 | 29 20 54 63 6c 5f 44 62 |lloc(x,y|) Tcl_Db|
|00002cc0| 43 6b 72 65 61 6c 6c 6f | 63 28 28 78 29 2c 20 28 |Ckreallo|c((x), (|
|00002cd0| 79 29 2c 5f 5f 46 49 4c | 45 5f 5f 2c 20 5f 5f 4c |y),__FIL|E__, __L|
|00002ce0| 49 4e 45 5f 5f 29 0a 0a | 23 65 6c 73 65 0a 0a 23 |INE__)..|#else..#|
|00002cf0| 20 20 64 65 66 69 6e 65 | 20 63 6b 61 6c 6c 6f 63 | define| ckalloc|
|00002d00| 28 78 29 20 6d 61 6c 6c | 6f 63 28 78 29 0a 23 20 |(x) mall|oc(x).# |
|00002d10| 20 64 65 66 69 6e 65 20 | 63 6b 66 72 65 65 28 78 | define |ckfree(x|
|00002d20| 29 20 20 66 72 65 65 28 | 78 29 0a 23 20 20 64 65 |) free(|x).# de|
|00002d30| 66 69 6e 65 20 63 6b 72 | 65 61 6c 6c 6f 63 28 78 |fine ckr|ealloc(x|
|00002d40| 2c 79 29 20 72 65 61 6c | 6c 6f 63 28 78 2c 79 29 |,y) real|loc(x,y)|
|00002d50| 0a 23 20 20 64 65 66 69 | 6e 65 20 54 63 6c 5f 44 |.# defi|ne Tcl_D|
|00002d60| 75 6d 70 41 63 74 69 76 | 65 4d 65 6d 6f 72 79 28 |umpActiv|eMemory(|
|00002d70| 78 29 0a 23 20 20 64 65 | 66 69 6e 65 20 54 63 6c |x).# de|fine Tcl|
|00002d80| 5f 56 61 6c 69 64 61 74 | 65 41 6c 6c 4d 65 6d 6f |_Validat|eAllMemo|
|00002d90| 72 79 28 78 2c 79 29 0a | 0a 23 65 6e 64 69 66 20 |ry(x,y).|.#endif |
|00002da0| 2f 2a 20 54 43 4c 5f 4d | 45 4d 5f 44 45 42 55 47 |/* TCL_M|EM_DEBUG|
|00002db0| 20 2a 2f 0a 0a 2f 2a 0a | 20 2a 20 4d 61 63 72 6f | */../*.| * Macro|
|00002dc0| 20 74 6f 20 66 72 65 65 | 20 75 70 20 72 65 73 75 | to free| up resu|
|00002dd0| 6c 74 20 6f 66 20 69 6e | 74 65 72 70 72 65 74 65 |lt of in|terprete|
|00002de0| 72 2e 0a 20 2a 2f 0a 0a | 23 64 65 66 69 6e 65 20 |r.. */..|#define |
|00002df0| 54 63 6c 5f 46 72 65 65 | 52 65 73 75 6c 74 28 69 |Tcl_Free|Result(i|
|00002e00| 6e 74 65 72 70 29 09 09 | 09 09 09 5c 0a 20 20 20 |nterp)..|...\. |
|00002e10| 20 69 66 20 28 28 69 6e | 74 65 72 70 29 2d 3e 66 | if ((in|terp)->f|
|00002e20| 72 65 65 50 72 6f 63 20 | 21 3d 20 30 29 20 7b 09 |reeProc |!= 0) {.|
|00002e30| 09 09 09 5c 0a 09 69 66 | 20 28 28 69 6e 74 65 72 |...\..if| ((inter|
|00002e40| 70 29 2d 3e 66 72 65 65 | 50 72 6f 63 20 3d 3d 20 |p)->free|Proc == |
|00002e50| 28 54 63 6c 5f 46 72 65 | 65 50 72 6f 63 20 2a 29 |(Tcl_Fre|eProc *)|
|00002e60| 20 66 72 65 65 29 20 7b | 09 5c 0a 09 20 20 20 20 | free) {|.\.. |
|00002e70| 63 6b 66 72 65 65 28 28 | 69 6e 74 65 72 70 29 2d |ckfree((|interp)-|
|00002e80| 3e 72 65 73 75 6c 74 29 | 3b 09 09 09 09 5c 0a 09 |>result)|;....\..|
|00002e90| 7d 20 65 6c 73 65 20 7b | 09 09 09 09 09 09 5c 0a |} else {|......\.|
|00002ea0| 09 20 20 20 20 28 2a 28 | 69 6e 74 65 72 70 29 2d |. (*(|interp)-|
|00002eb0| 3e 66 72 65 65 50 72 6f | 63 29 28 28 69 6e 74 65 |>freePro|c)((inte|
|00002ec0| 72 70 29 2d 3e 72 65 73 | 75 6c 74 29 3b 09 09 5c |rp)->res|ult);..\|
|00002ed0| 0a 09 7d 09 09 09 09 09 | 09 09 5c 0a 09 28 69 6e |..}.....|..\..(in|
|00002ee0| 74 65 72 70 29 2d 3e 66 | 72 65 65 50 72 6f 63 20 |terp)->f|reeProc |
|00002ef0| 3d 20 30 3b 09 09 09 09 | 09 5c 0a 20 20 20 20 7d |= 0;....|.\. }|
|00002f00| 0a 0a 2f 2a 0a 20 2a 20 | 46 6f 72 77 61 72 64 20 |../*. * |Forward |
|00002f10| 64 65 63 6c 61 72 61 74 | 69 6f 6e 20 6f 66 20 54 |declarat|ion of T|
|00002f20| 63 6c 5f 48 61 73 68 54 | 61 62 6c 65 2e 20 20 4e |cl_HashT|able. N|
|00002f30| 65 65 64 65 64 20 62 79 | 20 73 6f 6d 65 20 43 2b |eeded by| some C+|
|00002f40| 2b 20 63 6f 6d 70 69 6c | 65 72 73 0a 20 2a 20 74 |+ compil|ers. * t|
|00002f50| 6f 20 70 72 65 76 65 6e | 74 20 65 72 72 6f 72 73 |o preven|t errors|
|00002f60| 20 77 68 65 6e 20 74 68 | 65 20 66 6f 72 77 61 72 | when th|e forwar|
|00002f70| 64 20 72 65 66 65 72 65 | 6e 63 65 20 74 6f 20 54 |d refere|nce to T|
|00002f80| 63 6c 5f 48 61 73 68 54 | 61 62 6c 65 20 69 73 0a |cl_HashT|able is.|
|00002f90| 20 2a 20 65 6e 63 6f 75 | 6e 74 65 72 65 64 20 69 | * encou|ntered i|
|00002fa0| 6e 20 74 68 65 20 54 63 | 6c 5f 48 61 73 68 45 6e |n the Tc|l_HashEn|
|00002fb0| 74 72 79 20 73 74 72 75 | 63 74 75 72 65 2e 0a 20 |try stru|cture.. |
|00002fc0| 2a 2f 0a 0a 23 69 66 64 | 65 66 20 5f 5f 63 70 6c |*/..#ifd|ef __cpl|
|00002fd0| 75 73 70 6c 75 73 0a 73 | 74 72 75 63 74 20 54 63 |usplus.s|truct Tc|
|00002fe0| 6c 5f 48 61 73 68 54 61 | 62 6c 65 3b 0a 23 65 6e |l_HashTa|ble;.#en|
|00002ff0| 64 69 66 0a 0a 2f 2a 0a | 20 2a 20 53 74 72 75 63 |dif../*.| * Struc|
|00003000| 74 75 72 65 20 64 65 66 | 69 6e 69 74 69 6f 6e 20 |ture def|inition |
|00003010| 66 6f 72 20 61 6e 20 65 | 6e 74 72 79 20 69 6e 20 |for an e|ntry in |
|00003020| 61 20 68 61 73 68 20 74 | 61 62 6c 65 2e 20 20 4e |a hash t|able. N|
|00003030| 6f 2d 6f 6e 65 20 6f 75 | 74 73 69 64 65 0a 20 2a |o-one ou|tside. *|
|00003040| 20 54 63 6c 20 73 68 6f | 75 6c 64 20 61 63 63 65 | Tcl sho|uld acce|
|00003050| 73 73 20 61 6e 79 20 6f | 66 20 74 68 65 73 65 20 |ss any o|f these |
|00003060| 66 69 65 6c 64 73 20 64 | 69 72 65 63 74 6c 79 3b |fields d|irectly;|
|00003070| 20 20 75 73 65 20 74 68 | 65 20 6d 61 63 72 6f 73 | use th|e macros|
|00003080| 0a 20 2a 20 64 65 66 69 | 6e 65 64 20 62 65 6c 6f |. * defi|ned belo|
|00003090| 77 2e 0a 20 2a 2f 0a 0a | 74 79 70 65 64 65 66 20 |w.. */..|typedef |
|000030a0| 73 74 72 75 63 74 20 54 | 63 6c 5f 48 61 73 68 45 |struct T|cl_HashE|
|000030b0| 6e 74 72 79 20 7b 0a 20 | 20 20 20 73 74 72 75 63 |ntry {. | struc|
|000030c0| 74 20 54 63 6c 5f 48 61 | 73 68 45 6e 74 72 79 20 |t Tcl_Ha|shEntry |
|000030d0| 2a 6e 65 78 74 50 74 72 | 3b 09 2f 2a 20 50 6f 69 |*nextPtr|;./* Poi|
|000030e0| 6e 74 65 72 20 74 6f 20 | 6e 65 78 74 20 65 6e 74 |nter to |next ent|
|000030f0| 72 79 20 69 6e 20 74 68 | 69 73 0a 09 09 09 09 09 |ry in th|is......|
|00003100| 20 2a 20 68 61 73 68 20 | 62 75 63 6b 65 74 2c 20 | * hash |bucket, |
|00003110| 6f 72 20 4e 55 4c 4c 20 | 66 6f 72 20 65 6e 64 20 |or NULL |for end |
|00003120| 6f 66 0a 09 09 09 09 09 | 20 2a 20 63 68 61 69 6e |of......| * chain|
|00003130| 2e 20 2a 2f 0a 20 20 20 | 20 73 74 72 75 63 74 20 |. */. | struct |
|00003140| 54 63 6c 5f 48 61 73 68 | 54 61 62 6c 65 20 2a 74 |Tcl_Hash|Table *t|
|00003150| 61 62 6c 65 50 74 72 3b | 09 2f 2a 20 50 6f 69 6e |ablePtr;|./* Poin|
|00003160| 74 65 72 20 74 6f 20 74 | 61 62 6c 65 20 63 6f 6e |ter to t|able con|
|00003170| 74 61 69 6e 69 6e 67 20 | 65 6e 74 72 79 2e 20 2a |taining |entry. *|
|00003180| 2f 0a 20 20 20 20 73 74 | 72 75 63 74 20 54 63 6c |/. st|ruct Tcl|
|00003190| 5f 48 61 73 68 45 6e 74 | 72 79 20 2a 2a 62 75 63 |_HashEnt|ry **buc|
|000031a0| 6b 65 74 50 74 72 3b 09 | 2f 2a 20 50 6f 69 6e 74 |ketPtr;.|/* Point|
|000031b0| 65 72 20 74 6f 20 62 75 | 63 6b 65 74 20 74 68 61 |er to bu|cket tha|
|000031c0| 74 20 70 6f 69 6e 74 73 | 20 74 6f 0a 09 09 09 09 |t points| to.....|
|000031d0| 09 20 2a 20 66 69 72 73 | 74 20 65 6e 74 72 79 20 |. * firs|t entry |
|000031e0| 69 6e 20 74 68 69 73 20 | 65 6e 74 72 79 27 73 20 |in this |entry's |
|000031f0| 63 68 61 69 6e 3a 0a 09 | 09 09 09 09 20 2a 20 75 |chain:..|.... * u|
|00003200| 73 65 64 20 66 6f 72 20 | 64 65 6c 65 74 69 6e 67 |sed for |deleting|
|00003210| 20 74 68 65 20 65 6e 74 | 72 79 2e 20 2a 2f 0a 20 | the ent|ry. */. |
|00003220| 20 20 20 43 6c 69 65 6e | 74 44 61 74 61 20 63 6c | Clien|tData cl|
|00003230| 69 65 6e 74 44 61 74 61 | 3b 09 09 2f 2a 20 41 70 |ientData|;../* Ap|
|00003240| 70 6c 69 63 61 74 69 6f | 6e 20 73 74 6f 72 65 73 |plicatio|n stores|
|00003250| 20 73 6f 6d 65 74 68 69 | 6e 67 20 68 65 72 65 0a | somethi|ng here.|
|00003260| 09 09 09 09 09 20 2a 20 | 77 69 74 68 20 54 63 6c |..... * |with Tcl|
|00003270| 5f 53 65 74 48 61 73 68 | 56 61 6c 75 65 2e 20 2a |_SetHash|Value. *|
|00003280| 2f 0a 20 20 20 20 75 6e | 69 6f 6e 20 7b 09 09 09 |/. un|ion {...|
|00003290| 09 2f 2a 20 4b 65 79 20 | 68 61 73 20 6f 6e 65 20 |./* Key |has one |
|000032a0| 6f 66 20 74 68 65 73 65 | 20 66 6f 72 6d 73 3a 20 |of these| forms: |
|000032b0| 2a 2f 0a 09 63 68 61 72 | 20 2a 6f 6e 65 57 6f 72 |*/..char| *oneWor|
|000032c0| 64 56 61 6c 75 65 3b 09 | 09 2f 2a 20 4f 6e 65 2d |dValue;.|./* One-|
|000032d0| 77 6f 72 64 20 76 61 6c | 75 65 20 66 6f 72 20 6b |word val|ue for k|
|000032e0| 65 79 2e 20 2a 2f 0a 09 | 69 6e 74 20 77 6f 72 64 |ey. */..|int word|
|000032f0| 73 5b 31 5d 3b 09 09 09 | 2f 2a 20 4d 75 6c 74 69 |s[1];...|/* Multi|
|00003300| 70 6c 65 20 69 6e 74 65 | 67 65 72 20 77 6f 72 64 |ple inte|ger word|
|00003310| 73 20 66 6f 72 20 6b 65 | 79 2e 0a 09 09 09 09 09 |s for ke|y.......|
|00003320| 20 2a 20 54 68 65 20 61 | 63 74 75 61 6c 20 73 69 | * The a|ctual si|
|00003330| 7a 65 20 77 69 6c 6c 20 | 62 65 20 61 73 20 6c 61 |ze will |be as la|
|00003340| 72 67 65 0a 09 09 09 09 | 09 20 2a 20 61 73 20 6e |rge.....|. * as n|
|00003350| 65 63 65 73 73 61 72 79 | 20 66 6f 72 20 74 68 69 |ecessary| for thi|
|00003360| 73 20 74 61 62 6c 65 27 | 73 0a 09 09 09 09 09 20 |s table'|s...... |
|00003370| 2a 20 6b 65 79 73 2e 20 | 2a 2f 0a 09 63 68 61 72 |* keys. |*/..char|
|00003380| 20 73 74 72 69 6e 67 5b | 34 5d 3b 09 09 09 2f 2a | string[|4];.../*|
|00003390| 20 53 74 72 69 6e 67 20 | 66 6f 72 20 6b 65 79 2e | String |for key.|
|000033a0| 20 20 54 68 65 20 61 63 | 74 75 61 6c 20 73 69 7a | The ac|tual siz|
|000033b0| 65 0a 09 09 09 09 09 20 | 2a 20 77 69 6c 6c 20 62 |e...... |* will b|
|000033c0| 65 20 61 73 20 6c 61 72 | 67 65 20 61 73 20 6e 65 |e as lar|ge as ne|
|000033d0| 65 64 65 64 20 74 6f 20 | 68 6f 6c 64 0a 09 09 09 |eded to |hold....|
|000033e0| 09 09 20 2a 20 74 68 65 | 20 6b 65 79 2e 20 2a 2f |.. * the| key. */|
|000033f0| 0a 20 20 20 20 7d 20 6b | 65 79 3b 09 09 09 09 2f |. } k|ey;..../|
|00003400| 2a 20 4d 55 53 54 20 42 | 45 20 4c 41 53 54 20 46 |* MUST B|E LAST F|
|00003410| 49 45 4c 44 20 49 4e 20 | 52 45 43 4f 52 44 21 21 |IELD IN |RECORD!!|
|00003420| 20 2a 2f 0a 7d 20 54 63 | 6c 5f 48 61 73 68 45 6e | */.} Tc|l_HashEn|
|00003430| 74 72 79 3b 0a 0a 2f 2a | 0a 20 2a 20 53 74 72 75 |try;../*|. * Stru|
|00003440| 63 74 75 72 65 20 64 65 | 66 69 6e 69 74 69 6f 6e |cture de|finition|
|00003450| 20 66 6f 72 20 61 20 68 | 61 73 68 20 74 61 62 6c | for a h|ash tabl|
|00003460| 65 2e 20 20 4d 75 73 74 | 20 62 65 20 69 6e 20 74 |e. Must| be in t|
|00003470| 63 6c 2e 68 20 73 6f 20 | 63 6c 69 65 6e 74 73 0a |cl.h so |clients.|
|00003480| 20 2a 20 63 61 6e 20 61 | 6c 6c 6f 63 61 74 65 20 | * can a|llocate |
|00003490| 73 70 61 63 65 20 66 6f | 72 20 74 68 65 73 65 20 |space fo|r these |
|000034a0| 73 74 72 75 63 74 75 72 | 65 73 2c 20 62 75 74 20 |structur|es, but |
|000034b0| 63 6c 69 65 6e 74 73 20 | 73 68 6f 75 6c 64 20 6e |clients |should n|
|000034c0| 65 76 65 72 0a 20 2a 20 | 61 63 63 65 73 73 20 61 |ever. * |access a|
|000034d0| 6e 79 20 66 69 65 6c 64 | 73 20 69 6e 20 74 68 69 |ny field|s in thi|
|000034e0| 73 20 73 74 72 75 63 74 | 75 72 65 2e 0a 20 2a 2f |s struct|ure.. */|
|000034f0| 0a 0a 23 64 65 66 69 6e | 65 20 54 43 4c 5f 53 4d |..#defin|e TCL_SM|
|00003500| 41 4c 4c 5f 48 41 53 48 | 5f 54 41 42 4c 45 20 34 |ALL_HASH|_TABLE 4|
|00003510| 0a 74 79 70 65 64 65 66 | 20 73 74 72 75 63 74 20 |.typedef| struct |
|00003520| 54 63 6c 5f 48 61 73 68 | 54 61 62 6c 65 20 7b 0a |Tcl_Hash|Table {.|
|00003530| 20 20 20 20 54 63 6c 5f | 48 61 73 68 45 6e 74 72 | Tcl_|HashEntr|
|00003540| 79 20 2a 2a 62 75 63 6b | 65 74 73 3b 09 09 2f 2a |y **buck|ets;../*|
|00003550| 20 50 6f 69 6e 74 65 72 | 20 74 6f 20 62 75 63 6b | Pointer| to buck|
|00003560| 65 74 20 61 72 72 61 79 | 2e 20 20 45 61 63 68 0a |et array|. Each.|
|00003570| 09 09 09 09 09 20 2a 20 | 65 6c 65 6d 65 6e 74 20 |..... * |element |
|00003580| 70 6f 69 6e 74 73 20 74 | 6f 20 66 69 72 73 74 20 |points t|o first |
|00003590| 65 6e 74 72 79 20 69 6e | 0a 09 09 09 09 09 20 2a |entry in|...... *|
|000035a0| 20 62 75 63 6b 65 74 27 | 73 20 68 61 73 68 20 63 | bucket'|s hash c|
|000035b0| 68 61 69 6e 2c 20 6f 72 | 20 4e 55 4c 4c 2e 20 2a |hain, or| NULL. *|
|000035c0| 2f 0a 20 20 20 20 54 63 | 6c 5f 48 61 73 68 45 6e |/. Tc|l_HashEn|
|000035d0| 74 72 79 20 2a 73 74 61 | 74 69 63 42 75 63 6b 65 |try *sta|ticBucke|
|000035e0| 74 73 5b 54 43 4c 5f 53 | 4d 41 4c 4c 5f 48 41 53 |ts[TCL_S|MALL_HAS|
|000035f0| 48 5f 54 41 42 4c 45 5d | 3b 0a 09 09 09 09 09 2f |H_TABLE]|;....../|
|00003600| 2a 20 42 75 63 6b 65 74 | 20 61 72 72 61 79 20 75 |* Bucket| array u|
|00003610| 73 65 64 20 66 6f 72 20 | 73 6d 61 6c 6c 20 74 61 |sed for |small ta|
|00003620| 62 6c 65 73 0a 09 09 09 | 09 09 20 2a 20 28 74 6f |bles....|.. * (to|
|00003630| 20 61 76 6f 69 64 20 6d | 61 6c 6c 6f 63 73 20 61 | avoid m|allocs a|
|00003640| 6e 64 20 66 72 65 65 73 | 29 2e 20 2a 2f 0a 20 20 |nd frees|). */. |
|00003650| 20 20 69 6e 74 20 6e 75 | 6d 42 75 63 6b 65 74 73 | int nu|mBuckets|
|00003660| 3b 09 09 09 2f 2a 20 54 | 6f 74 61 6c 20 6e 75 6d |;.../* T|otal num|
|00003670| 62 65 72 20 6f 66 20 62 | 75 63 6b 65 74 73 20 61 |ber of b|uckets a|
|00003680| 6c 6c 6f 63 61 74 65 64 | 0a 09 09 09 09 09 20 2a |llocated|...... *|
|00003690| 20 61 74 20 2a 2a 62 75 | 63 6b 65 74 50 74 72 2e | at **bu|cketPtr.|
|000036a0| 20 2a 2f 0a 20 20 20 20 | 69 6e 74 20 6e 75 6d 45 | */. |int numE|
|000036b0| 6e 74 72 69 65 73 3b 09 | 09 09 2f 2a 20 54 6f 74 |ntries;.|../* Tot|
|000036c0| 61 6c 20 6e 75 6d 62 65 | 72 20 6f 66 20 65 6e 74 |al numbe|r of ent|
|000036d0| 72 69 65 73 20 70 72 65 | 73 65 6e 74 0a 09 09 09 |ries pre|sent....|
|000036e0| 09 09 20 2a 20 69 6e 20 | 74 61 62 6c 65 2e 20 2a |.. * in |table. *|
|000036f0| 2f 0a 20 20 20 20 69 6e | 74 20 72 65 62 75 69 6c |/. in|t rebuil|
|00003700| 64 53 69 7a 65 3b 09 09 | 09 2f 2a 20 45 6e 6c 61 |dSize;..|./* Enla|
|00003710| 72 67 65 20 74 61 62 6c | 65 20 77 68 65 6e 20 6e |rge tabl|e when n|
|00003720| 75 6d 45 6e 74 72 69 65 | 73 20 67 65 74 73 0a 09 |umEntrie|s gets..|
|00003730| 09 09 09 09 20 2a 20 74 | 6f 20 62 65 20 74 68 69 |.... * t|o be thi|
|00003740| 73 20 6c 61 72 67 65 2e | 20 2a 2f 0a 20 20 20 20 |s large.| */. |
|00003750| 69 6e 74 20 64 6f 77 6e | 53 68 69 66 74 3b 09 09 |int down|Shift;..|
|00003760| 09 2f 2a 20 53 68 69 66 | 74 20 63 6f 75 6e 74 20 |./* Shif|t count |
|00003770| 75 73 65 64 20 69 6e 20 | 68 61 73 68 69 6e 67 0a |used in |hashing.|
|00003780| 09 09 09 09 09 20 2a 20 | 66 75 6e 63 74 69 6f 6e |..... * |function|
|00003790| 2e 20 20 44 65 73 69 67 | 6e 65 64 20 74 6f 20 75 |. Desig|ned to u|
|000037a0| 73 65 20 68 69 67 68 2d | 0a 09 09 09 09 09 20 2a |se high-|...... *|
|000037b0| 20 6f 72 64 65 72 20 62 | 69 74 73 20 6f 66 20 72 | order b|its of r|
|000037c0| 61 6e 64 6f 6d 69 7a 65 | 64 20 6b 65 79 73 2e 20 |andomize|d keys. |
|000037d0| 2a 2f 0a 20 20 20 20 69 | 6e 74 20 6d 61 73 6b 3b |*/. i|nt mask;|
|000037e0| 09 09 09 09 2f 2a 20 4d | 61 73 6b 20 76 61 6c 75 |..../* M|ask valu|
|000037f0| 65 20 75 73 65 64 20 69 | 6e 20 68 61 73 68 69 6e |e used i|n hashin|
|00003800| 67 0a 09 09 09 09 09 20 | 2a 20 66 75 6e 63 74 69 |g...... |* functi|
|00003810| 6f 6e 2e 20 2a 2f 0a 20 | 20 20 20 69 6e 74 20 6b |on. */. | int k|
|00003820| 65 79 54 79 70 65 3b 09 | 09 09 2f 2a 20 54 79 70 |eyType;.|../* Typ|
|00003830| 65 20 6f 66 20 6b 65 79 | 73 20 75 73 65 64 20 69 |e of key|s used i|
|00003840| 6e 20 74 68 69 73 20 74 | 61 62 6c 65 2e 20 0a 09 |n this t|able. ..|
|00003850| 09 09 09 09 20 2a 20 49 | 74 27 73 20 65 69 74 68 |.... * I|t's eith|
|00003860| 65 72 20 54 43 4c 5f 53 | 54 52 49 4e 47 5f 4b 45 |er TCL_S|TRING_KE|
|00003870| 59 53 2c 0a 09 09 09 09 | 09 20 2a 20 54 43 4c 5f |YS,.....|. * TCL_|
|00003880| 4f 4e 45 5f 57 4f 52 44 | 5f 4b 45 59 53 2c 20 6f |ONE_WORD|_KEYS, o|
|00003890| 72 20 61 6e 20 69 6e 74 | 65 67 65 72 0a 09 09 09 |r an int|eger....|
|000038a0| 09 09 20 2a 20 67 69 76 | 69 6e 67 20 74 68 65 20 |.. * giv|ing the |
|000038b0| 6e 75 6d 62 65 72 20 6f | 66 20 69 6e 74 73 20 69 |number o|f ints i|
|000038c0| 6e 20 61 0a 09 09 09 09 | 09 20 2a 2f 0a 20 20 20 |n a.....|. */. |
|000038d0| 20 54 63 6c 5f 48 61 73 | 68 45 6e 74 72 79 20 2a | Tcl_Has|hEntry *|
|000038e0| 28 2a 66 69 6e 64 50 72 | 6f 63 29 20 5f 41 4e 53 |(*findPr|oc) _ANS|
|000038f0| 49 5f 41 52 47 53 5f 28 | 28 73 74 72 75 63 74 20 |I_ARGS_(|(struct |
|00003900| 54 63 6c 5f 48 61 73 68 | 54 61 62 6c 65 20 2a 74 |Tcl_Hash|Table *t|
|00003910| 61 62 6c 65 50 74 72 2c | 0a 09 20 20 20 20 63 68 |ablePtr,|.. ch|
|00003920| 61 72 20 2a 6b 65 79 29 | 29 3b 0a 20 20 20 20 54 |ar *key)|);. T|
|00003930| 63 6c 5f 48 61 73 68 45 | 6e 74 72 79 20 2a 28 2a |cl_HashE|ntry *(*|
|00003940| 63 72 65 61 74 65 50 72 | 6f 63 29 20 5f 41 4e 53 |createPr|oc) _ANS|
|00003950| 49 5f 41 52 47 53 5f 28 | 28 73 74 72 75 63 74 20 |I_ARGS_(|(struct |
|00003960| 54 63 6c 5f 48 61 73 68 | 54 61 62 6c 65 20 2a 74 |Tcl_Hash|Table *t|
|00003970| 61 62 6c 65 50 74 72 2c | 0a 09 20 20 20 20 63 68 |ablePtr,|.. ch|
|00003980| 61 72 20 2a 6b 65 79 2c | 20 69 6e 74 20 2a 6e 65 |ar *key,| int *ne|
|00003990| 77 50 74 72 29 29 3b 0a | 7d 20 54 63 6c 5f 48 61 |wPtr));.|} Tcl_Ha|
|000039a0| 73 68 54 61 62 6c 65 3b | 0a 0a 2f 2a 0a 20 2a 20 |shTable;|../*. * |
|000039b0| 53 74 72 75 63 74 75 72 | 65 20 64 65 66 69 6e 69 |Structur|e defini|
|000039c0| 74 69 6f 6e 20 66 6f 72 | 20 69 6e 66 6f 72 6d 61 |tion for| informa|
|000039d0| 74 69 6f 6e 20 75 73 65 | 64 20 74 6f 20 6b 65 65 |tion use|d to kee|
|000039e0| 70 20 74 72 61 63 6b 20 | 6f 66 20 73 65 61 72 63 |p track |of searc|
|000039f0| 68 65 73 0a 20 2a 20 74 | 68 72 6f 75 67 68 20 68 |hes. * t|hrough h|
|00003a00| 61 73 68 20 74 61 62 6c | 65 73 3a 0a 20 2a 2f 0a |ash tabl|es:. */.|
|00003a10| 0a 74 79 70 65 64 65 66 | 20 73 74 72 75 63 74 20 |.typedef| struct |
|00003a20| 54 63 6c 5f 48 61 73 68 | 53 65 61 72 63 68 20 7b |Tcl_Hash|Search {|
|00003a30| 0a 20 20 20 20 54 63 6c | 5f 48 61 73 68 54 61 62 |. Tcl|_HashTab|
|00003a40| 6c 65 20 2a 74 61 62 6c | 65 50 74 72 3b 09 09 2f |le *tabl|ePtr;../|
|00003a50| 2a 20 54 61 62 6c 65 20 | 62 65 69 6e 67 20 73 65 |* Table |being se|
|00003a60| 61 72 63 68 65 64 2e 20 | 2a 2f 0a 20 20 20 20 69 |arched. |*/. i|
|00003a70| 6e 74 20 6e 65 78 74 49 | 6e 64 65 78 3b 09 09 09 |nt nextI|ndex;...|
|00003a80| 2f 2a 20 49 6e 64 65 78 | 20 6f 66 20 6e 65 78 74 |/* Index| of next|
|00003a90| 20 62 75 63 6b 65 74 20 | 74 6f 20 62 65 0a 09 09 | bucket |to be...|
|00003aa0| 09 09 09 20 2a 20 65 6e | 75 6d 65 72 61 74 65 64 |... * en|umerated|
|00003ab0| 20 61 66 74 65 72 20 70 | 72 65 73 65 6e 74 20 6f | after p|resent o|
|00003ac0| 6e 65 2e 20 2a 2f 0a 20 | 20 20 20 54 63 6c 5f 48 |ne. */. | Tcl_H|
|00003ad0| 61 73 68 45 6e 74 72 79 | 20 2a 6e 65 78 74 45 6e |ashEntry| *nextEn|
|00003ae0| 74 72 79 50 74 72 3b 09 | 2f 2a 20 4e 65 78 74 20 |tryPtr;.|/* Next |
|00003af0| 65 6e 74 72 79 20 74 6f | 20 62 65 20 65 6e 75 6d |entry to| be enum|
|00003b00| 65 72 61 74 65 64 20 69 | 6e 20 74 68 65 0a 09 09 |erated i|n the...|
|00003b10| 09 09 09 20 2a 20 74 68 | 65 20 63 75 72 72 65 6e |... * th|e curren|
|00003b20| 74 20 62 75 63 6b 65 74 | 2e 20 2a 2f 0a 7d 20 54 |t bucket|. */.} T|
|00003b30| 63 6c 5f 48 61 73 68 53 | 65 61 72 63 68 3b 0a 0a |cl_HashS|earch;..|
|00003b40| 2f 2a 0a 20 2a 20 41 63 | 63 65 70 74 61 62 6c 65 |/*. * Ac|ceptable|
|00003b50| 20 6b 65 79 20 74 79 70 | 65 73 20 66 6f 72 20 68 | key typ|es for h|
|00003b60| 61 73 68 20 74 61 62 6c | 65 73 3a 0a 20 2a 2f 0a |ash tabl|es:. */.|
|00003b70| 0a 23 64 65 66 69 6e 65 | 20 54 43 4c 5f 53 54 52 |.#define| TCL_STR|
|00003b80| 49 4e 47 5f 4b 45 59 53 | 09 09 30 0a 23 64 65 66 |ING_KEYS|..0.#def|
|00003b90| 69 6e 65 20 54 43 4c 5f | 4f 4e 45 5f 57 4f 52 44 |ine TCL_|ONE_WORD|
|00003ba0| 5f 4b 45 59 53 09 31 0a | 0a 2f 2a 0a 20 2a 20 4d |_KEYS.1.|./*. * M|
|00003bb0| 61 63 72 6f 73 20 66 6f | 72 20 63 6c 69 65 6e 74 |acros fo|r client|
|00003bc0| 73 20 74 6f 20 75 73 65 | 20 74 6f 20 61 63 63 65 |s to use| to acce|
|00003bd0| 73 73 20 66 69 65 6c 64 | 73 20 6f 66 20 68 61 73 |ss field|s of has|
|00003be0| 68 20 65 6e 74 72 69 65 | 73 3a 0a 20 2a 2f 0a 0a |h entrie|s:. */..|
|00003bf0| 23 64 65 66 69 6e 65 20 | 54 63 6c 5f 47 65 74 48 |#define |Tcl_GetH|
|00003c00| 61 73 68 56 61 6c 75 65 | 28 68 29 20 28 28 68 29 |ashValue|(h) ((h)|
|00003c10| 2d 3e 63 6c 69 65 6e 74 | 44 61 74 61 29 0a 23 64 |->client|Data).#d|
|00003c20| 65 66 69 6e 65 20 54 63 | 6c 5f 53 65 74 48 61 73 |efine Tc|l_SetHas|
|00003c30| 68 56 61 6c 75 65 28 68 | 2c 20 76 61 6c 75 65 29 |hValue(h|, value)|
|00003c40| 20 28 28 68 29 2d 3e 63 | 6c 69 65 6e 74 44 61 74 | ((h)->c|lientDat|
|00003c50| 61 20 3d 20 28 43 6c 69 | 65 6e 74 44 61 74 61 29 |a = (Cli|entData)|
|00003c60| 20 28 76 61 6c 75 65 29 | 29 0a 23 64 65 66 69 6e | (value)|).#defin|
|00003c70| 65 20 54 63 6c 5f 47 65 | 74 48 61 73 68 4b 65 79 |e Tcl_Ge|tHashKey|
|00003c80| 28 74 61 62 6c 65 50 74 | 72 2c 20 68 29 20 5c 0a |(tablePt|r, h) \.|
|00003c90| 20 20 20 20 28 28 63 68 | 61 72 20 2a 29 20 28 28 | ((ch|ar *) ((|
|00003ca0| 28 74 61 62 6c 65 50 74 | 72 29 2d 3e 6b 65 79 54 |(tablePt|r)->keyT|
|00003cb0| 79 70 65 20 3d 3d 20 54 | 43 4c 5f 4f 4e 45 5f 57 |ype == T|CL_ONE_W|
|00003cc0| 4f 52 44 5f 4b 45 59 53 | 29 20 3f 20 28 68 29 2d |ORD_KEYS|) ? (h)-|
|00003cd0| 3e 6b 65 79 2e 6f 6e 65 | 57 6f 72 64 56 61 6c 75 |>key.one|WordValu|
|00003ce0| 65 20 5c 0a 09 09 09 09 | 09 09 3a 20 28 68 29 2d |e \.....|..: (h)-|
|00003cf0| 3e 6b 65 79 2e 73 74 72 | 69 6e 67 29 29 0a 0a 2f |>key.str|ing))../|
|00003d00| 2a 0a 20 2a 20 4d 61 63 | 72 6f 73 20 74 6f 20 75 |*. * Mac|ros to u|
|00003d10| 73 65 20 66 6f 72 20 63 | 6c 69 65 6e 74 73 20 74 |se for c|lients t|
|00003d20| 6f 20 75 73 65 20 74 6f | 20 69 6e 76 6f 6b 65 20 |o use to| invoke |
|00003d30| 66 69 6e 64 20 61 6e 64 | 20 63 72 65 61 74 65 20 |find and| create |
|00003d40| 70 72 6f 63 65 64 75 72 | 65 73 0a 20 2a 20 66 6f |procedur|es. * fo|
|00003d50| 72 20 68 61 73 68 20 74 | 61 62 6c 65 73 3a 0a 20 |r hash t|ables:. |
|00003d60| 2a 2f 0a 0a 23 64 65 66 | 69 6e 65 20 54 63 6c 5f |*/..#def|ine Tcl_|
|00003d70| 46 69 6e 64 48 61 73 68 | 45 6e 74 72 79 28 74 61 |FindHash|Entry(ta|
|00003d80| 62 6c 65 50 74 72 2c 20 | 6b 65 79 29 20 5c 0a 09 |blePtr, |key) \..|
|00003d90| 28 2a 28 28 74 61 62 6c | 65 50 74 72 29 2d 3e 66 |(*((tabl|ePtr)->f|
|00003da0| 69 6e 64 50 72 6f 63 29 | 29 28 74 61 62 6c 65 50 |indProc)|)(tableP|
|00003db0| 74 72 2c 20 6b 65 79 29 | 0a 23 64 65 66 69 6e 65 |tr, key)|.#define|
|00003dc0| 20 54 63 6c 5f 43 72 65 | 61 74 65 48 61 73 68 45 | Tcl_Cre|ateHashE|
|00003dd0| 6e 74 72 79 28 74 61 62 | 6c 65 50 74 72 2c 20 6b |ntry(tab|lePtr, k|
|00003de0| 65 79 2c 20 6e 65 77 50 | 74 72 29 20 5c 0a 09 28 |ey, newP|tr) \..(|
|00003df0| 2a 28 28 74 61 62 6c 65 | 50 74 72 29 2d 3e 63 72 |*((table|Ptr)->cr|
|00003e00| 65 61 74 65 50 72 6f 63 | 29 29 28 74 61 62 6c 65 |eateProc|))(table|
|00003e10| 50 74 72 2c 20 6b 65 79 | 2c 20 6e 65 77 50 74 72 |Ptr, key|, newPtr|
|00003e20| 29 0a 0a 2f 2a 0a 20 2a | 20 45 78 70 6f 72 74 65 |)../*. *| Exporte|
|00003e30| 64 20 54 63 6c 20 76 61 | 72 69 61 62 6c 65 73 3a |d Tcl va|riables:|
|00003e40| 0a 20 2a 2f 0a 0a 45 58 | 54 45 52 4e 20 69 6e 74 |. */..EX|TERN int|
|00003e50| 09 09 74 63 6c 5f 41 73 | 79 6e 63 52 65 61 64 79 |..tcl_As|yncReady|
|00003e60| 3b 0a 45 58 54 45 52 4e | 20 63 68 61 72 20 2a 09 |;.EXTERN| char *.|
|00003e70| 09 74 63 6c 5f 52 63 46 | 69 6c 65 4e 61 6d 65 3b |.tcl_RcF|ileName;|
|00003e80| 0a 0a 2f 2a 0a 20 2a 20 | 45 78 70 6f 72 74 65 64 |../*. * |Exported|
|00003e90| 20 54 63 6c 20 70 72 6f | 63 65 64 75 72 65 73 3a | Tcl pro|cedures:|
|00003ea0| 0a 20 2a 2f 0a 0a 45 58 | 54 45 52 4e 20 76 6f 69 |. */..EX|TERN voi|
|00003eb0| 64 09 09 54 63 6c 5f 41 | 73 79 6e 63 4d 61 72 6b |d..Tcl_A|syncMark|
|00003ec0| 20 5f 41 4e 53 49 5f 41 | 52 47 53 5f 28 28 54 63 | _ANSI_A|RGS_((Tc|
|00003ed0| 6c 5f 41 73 79 6e 63 48 | 61 6e 64 6c 65 72 20 61 |l_AsyncH|andler a|
|00003ee0| 73 79 6e 63 29 29 3b 0a | 45 58 54 45 52 4e 20 54 |sync));.|EXTERN T|
|00003ef0| 63 6c 5f 41 73 79 6e 63 | 48 61 6e 64 6c 65 72 09 |cl_Async|Handler.|
|00003f00| 54 63 6c 5f 41 73 79 6e | 63 43 72 65 61 74 65 20 |Tcl_Asyn|cCreate |
|00003f10| 5f 41 4e 53 49 5f 41 52 | 47 53 5f 28 28 54 63 6c |_ANSI_AR|GS_((Tcl|
|00003f20| 5f 41 73 79 6e 63 50 72 | 6f 63 20 2a 70 72 6f 63 |_AsyncPr|oc *proc|
|00003f30| 2c 0a 09 09 09 20 20 20 | 20 43 6c 69 65 6e 74 44 |,.... | ClientD|
|00003f40| 61 74 61 20 63 6c 69 65 | 6e 74 44 61 74 61 29 29 |ata clie|ntData))|
|00003f50| 3b 0a 45 58 54 45 52 4e | 20 76 6f 69 64 09 09 54 |;.EXTERN| void..T|
|00003f60| 63 6c 5f 41 73 79 6e 63 | 44 65 6c 65 74 65 20 5f |cl_Async|Delete _|
|00003f70| 41 4e 53 49 5f 41 52 47 | 53 5f 28 28 54 63 6c 5f |ANSI_ARG|S_((Tcl_|
|00003f80| 41 73 79 6e 63 48 61 6e | 64 6c 65 72 20 61 73 79 |AsyncHan|dler asy|
|00003f90| 6e 63 29 29 3b 0a 45 58 | 54 45 52 4e 20 69 6e 74 |nc));.EX|TERN int|
|00003fa0| 09 09 54 63 6c 5f 41 73 | 79 6e 63 49 6e 76 6f 6b |..Tcl_As|yncInvok|
|00003fb0| 65 20 5f 41 4e 53 49 5f | 41 52 47 53 5f 28 28 54 |e _ANSI_|ARGS_((T|
|00003fc0| 63 6c 5f 49 6e 74 65 72 | 70 20 2a 69 6e 74 65 72 |cl_Inter|p *inter|
|00003fd0| 70 2c 0a 09 09 09 20 20 | 20 20 69 6e 74 20 63 6f |p,.... | int co|
|00003fe0| 64 65 29 29 3b 0a 45 58 | 54 45 52 4e 20 76 6f 69 |de));.EX|TERN voi|
|00003ff0| 64 09 09 54 63 6c 5f 41 | 70 70 65 6e 64 45 6c 65 |d..Tcl_A|ppendEle|
|00004000| 6d 65 6e 74 20 5f 41 4e | 53 49 5f 41 52 47 53 5f |ment _AN|SI_ARGS_|
|00004010| 28 28 54 63 6c 5f 49 6e | 74 65 72 70 20 2a 69 6e |((Tcl_In|terp *in|
|00004020| 74 65 72 70 2c 0a 09 09 | 09 20 20 20 20 63 68 61 |terp,...|. cha|
|00004030| 72 20 2a 73 74 72 69 6e | 67 29 29 3b 0a 45 58 54 |r *strin|g));.EXT|
|00004040| 45 52 4e 20 76 6f 69 64 | 09 09 54 63 6c 5f 41 70 |ERN void|..Tcl_Ap|
|00004050| 70 65 6e 64 52 65 73 75 | 6c 74 20 5f 41 4e 53 49 |pendResu|lt _ANSI|
|00004060| 5f 41 52 47 53 5f 28 56 | 41 52 41 52 47 53 29 3b |_ARGS_(V|ARARGS);|
|00004070| 0a 45 58 54 45 52 4e 20 | 69 6e 74 09 09 54 63 6c |.EXTERN |int..Tcl|
|00004080| 5f 41 70 70 49 6e 69 74 | 20 5f 41 4e 53 49 5f 41 |_AppInit| _ANSI_A|
|00004090| 52 47 53 5f 28 28 54 63 | 6c 5f 49 6e 74 65 72 70 |RGS_((Tc|l_Interp|
|000040a0| 20 2a 69 6e 74 65 72 70 | 29 29 3b 0a 45 58 54 45 | *interp|));.EXTE|
|000040b0| 52 4e 20 76 6f 69 64 09 | 09 54 63 6c 5f 41 64 64 |RN void.|.Tcl_Add|
|000040c0| 45 72 72 6f 72 49 6e 66 | 6f 20 5f 41 4e 53 49 5f |ErrorInf|o _ANSI_|
|000040d0| 41 52 47 53 5f 28 28 54 | 63 6c 5f 49 6e 74 65 72 |ARGS_((T|cl_Inter|
|000040e0| 70 20 2a 69 6e 74 65 72 | 70 2c 0a 09 09 09 20 20 |p *inter|p,.... |
|000040f0| 20 20 63 68 61 72 20 2a | 6d 65 73 73 61 67 65 29 | char *|message)|
|00004100| 29 3b 0a 45 58 54 45 52 | 4e 20 63 68 61 72 09 09 |);.EXTER|N char..|
|00004110| 54 63 6c 5f 42 61 63 6b | 73 6c 61 73 68 20 5f 41 |Tcl_Back|slash _A|
|00004120| 4e 53 49 5f 41 52 47 53 | 5f 28 28 63 68 61 72 20 |NSI_ARGS|_((char |
|00004130| 2a 73 72 63 2c 0a 09 09 | 09 20 20 20 20 69 6e 74 |*src,...|. int|
|00004140| 20 2a 72 65 61 64 50 74 | 72 29 29 3b 0a 45 58 54 | *readPt|r));.EXT|
|00004150| 45 52 4e 20 76 6f 69 64 | 09 09 54 63 6c 5f 43 61 |ERN void|..Tcl_Ca|
|00004160| 6c 6c 57 68 65 6e 44 65 | 6c 65 74 65 64 20 5f 41 |llWhenDe|leted _A|
|00004170| 4e 53 49 5f 41 52 47 53 | 5f 28 28 54 63 6c 5f 49 |NSI_ARGS|_((Tcl_I|
|00004180| 6e 74 65 72 70 20 2a 69 | 6e 74 65 72 70 2c 0a 09 |nterp *i|nterp,..|
|00004190| 09 09 20 20 20 20 54 63 | 6c 5f 49 6e 74 65 72 70 |.. Tc|l_Interp|
|000041a0| 44 65 6c 65 74 65 50 72 | 6f 63 20 2a 70 72 6f 63 |DeletePr|oc *proc|
|000041b0| 2c 0a 09 09 09 20 20 20 | 20 43 6c 69 65 6e 74 44 |,.... | ClientD|
|000041c0| 61 74 61 20 63 6c 69 65 | 6e 74 44 61 74 61 29 29 |ata clie|ntData))|
|000041d0| 3b 0a 45 58 54 45 52 4e | 20 69 6e 74 09 09 54 63 |;.EXTERN| int..Tc|
|000041e0| 6c 5f 43 6f 6d 6d 61 6e | 64 43 6f 6d 70 6c 65 74 |l_Comman|dComplet|
|000041f0| 65 20 5f 41 4e 53 49 5f | 41 52 47 53 5f 28 28 63 |e _ANSI_|ARGS_((c|
|00004200| 68 61 72 20 2a 63 6d 64 | 29 29 3b 0a 45 58 54 45 |har *cmd|));.EXTE|
|00004210| 52 4e 20 63 68 61 72 20 | 2a 09 09 54 63 6c 5f 43 |RN char |*..Tcl_C|
|00004220| 6f 6e 63 61 74 20 5f 41 | 4e 53 49 5f 41 52 47 53 |oncat _A|NSI_ARGS|
|00004230| 5f 28 28 69 6e 74 20 61 | 72 67 63 2c 20 63 68 61 |_((int a|rgc, cha|
|00004240| 72 20 2a 2a 61 72 67 76 | 29 29 3b 0a 45 58 54 45 |r **argv|));.EXTE|
|00004250| 52 4e 20 69 6e 74 09 09 | 54 63 6c 5f 43 6f 6e 76 |RN int..|Tcl_Conv|
|00004260| 65 72 74 45 6c 65 6d 65 | 6e 74 20 5f 41 4e 53 49 |ertEleme|nt _ANSI|
|00004270| 5f 41 52 47 53 5f 28 28 | 63 68 61 72 20 2a 73 72 |_ARGS_((|char *sr|
|00004280| 63 2c 0a 09 09 09 20 20 | 20 20 63 68 61 72 20 2a |c,.... | char *|
|00004290| 64 73 74 2c 20 69 6e 74 | 20 66 6c 61 67 73 29 29 |dst, int| flags))|
|000042a0| 3b 0a 45 58 54 45 52 4e | 20 76 6f 69 64 09 09 54 |;.EXTERN| void..T|
|000042b0| 63 6c 5f 43 72 65 61 74 | 65 43 6f 6d 6d 61 6e 64 |cl_Creat|eCommand|
|000042c0| 20 5f 41 4e 53 49 5f 41 | 52 47 53 5f 28 28 54 63 | _ANSI_A|RGS_((Tc|
|000042d0| 6c 5f 49 6e 74 65 72 70 | 20 2a 69 6e 74 65 72 70 |l_Interp| *interp|
|000042e0| 2c 0a 09 09 09 20 20 20 | 20 63 68 61 72 20 2a 63 |,.... | char *c|
|000042f0| 6d 64 4e 61 6d 65 2c 20 | 54 63 6c 5f 43 6d 64 50 |mdName, |Tcl_CmdP|
|00004300| 72 6f 63 20 2a 70 72 6f | 63 2c 0a 09 09 09 20 20 |roc *pro|c,.... |
|00004310| 20 20 43 6c 69 65 6e 74 | 44 61 74 61 20 63 6c 69 | Client|Data cli|
|00004320| 65 6e 74 44 61 74 61 2c | 0a 09 09 09 20 20 20 20 |entData,|.... |
|00004330| 54 63 6c 5f 43 6d 64 44 | 65 6c 65 74 65 50 72 6f |Tcl_CmdD|eletePro|
|00004340| 63 20 2a 64 65 6c 65 74 | 65 50 72 6f 63 29 29 3b |c *delet|eProc));|
|00004350| 0a 45 58 54 45 52 4e 20 | 54 63 6c 5f 49 6e 74 65 |.EXTERN |Tcl_Inte|
|00004360| 72 70 20 2a 09 54 63 6c | 5f 43 72 65 61 74 65 49 |rp *.Tcl|_CreateI|
|00004370| 6e 74 65 72 70 20 5f 41 | 4e 53 49 5f 41 52 47 53 |nterp _A|NSI_ARGS|
|00004380| 5f 28 28 76 6f 69 64 29 | 29 3b 0a 45 58 54 45 52 |_((void)|);.EXTER|
|00004390| 4e 20 76 6f 69 64 09 09 | 54 63 6c 5f 43 72 65 61 |N void..|Tcl_Crea|
|000043a0| 74 65 4d 61 74 68 46 75 | 6e 63 20 5f 41 4e 53 49 |teMathFu|nc _ANSI|
|000043b0| 5f 41 52 47 53 5f 28 28 | 54 63 6c 5f 49 6e 74 65 |_ARGS_((|Tcl_Inte|
|000043c0| 72 70 20 2a 69 6e 74 65 | 72 70 2c 0a 09 09 09 20 |rp *inte|rp,.... |
|000043d0| 20 20 20 63 68 61 72 20 | 2a 6e 61 6d 65 2c 20 69 | char |*name, i|
|000043e0| 6e 74 20 6e 75 6d 41 72 | 67 73 2c 20 54 63 6c 5f |nt numAr|gs, Tcl_|
|000043f0| 56 61 6c 75 65 54 79 70 | 65 20 2a 61 72 67 54 79 |ValueTyp|e *argTy|
|00004400| 70 65 73 2c 0a 09 09 09 | 20 20 20 20 54 63 6c 5f |pes,....| Tcl_|
|00004410| 4d 61 74 68 50 72 6f 63 | 20 2a 70 72 6f 63 2c 20 |MathProc| *proc, |
|00004420| 43 6c 69 65 6e 74 44 61 | 74 61 20 63 6c 69 65 6e |ClientDa|ta clien|
|00004430| 74 44 61 74 61 29 29 3b | 0a 45 58 54 45 52 4e 20 |tData));|.EXTERN |
|00004440| 69 6e 74 09 09 54 63 6c | 5f 43 72 65 61 74 65 50 |int..Tcl|_CreateP|
|00004450| 69 70 65 6c 69 6e 65 20 | 5f 41 4e 53 49 5f 41 52 |ipeline |_ANSI_AR|
|00004460| 47 53 5f 28 28 54 63 6c | 5f 49 6e 74 65 72 70 20 |GS_((Tcl|_Interp |
|00004470| 2a 69 6e 74 65 72 70 2c | 0a 09 09 09 20 20 20 20 |*interp,|.... |
|00004480| 69 6e 74 20 61 72 67 63 | 2c 20 63 68 61 72 20 2a |int argc|, char *|
|00004490| 2a 61 72 67 76 2c 20 69 | 6e 74 20 2a 2a 70 69 64 |*argv, i|nt **pid|
|000044a0| 41 72 72 61 79 50 74 72 | 2c 0a 09 09 09 20 20 20 |ArrayPtr|,.... |
|000044b0| 20 69 6e 74 20 2a 69 6e | 50 69 70 65 50 74 72 2c | int *in|PipePtr,|
|000044c0| 20 69 6e 74 20 2a 6f 75 | 74 50 69 70 65 50 74 72 | int *ou|tPipePtr|
|000044d0| 2c 0a 09 09 09 20 20 20 | 20 69 6e 74 20 2a 65 72 |,.... | int *er|
|000044e0| 72 46 69 6c 65 50 74 72 | 29 29 3b 0a 45 58 54 45 |rFilePtr|));.EXTE|
|000044f0| 52 4e 20 54 63 6c 5f 54 | 72 61 63 65 09 54 63 6c |RN Tcl_T|race.Tcl|
|00004500| 5f 43 72 65 61 74 65 54 | 72 61 63 65 20 5f 41 4e |_CreateT|race _AN|
|00004510| 53 49 5f 41 52 47 53 5f | 28 28 54 63 6c 5f 49 6e |SI_ARGS_|((Tcl_In|
|00004520| 74 65 72 70 20 2a 69 6e | 74 65 72 70 2c 0a 09 09 |terp *in|terp,...|
|00004530| 09 20 20 20 20 69 6e 74 | 20 6c 65 76 65 6c 2c 20 |. int| level, |
|00004540| 54 63 6c 5f 43 6d 64 54 | 72 61 63 65 50 72 6f 63 |Tcl_CmdT|raceProc|
|00004550| 20 2a 70 72 6f 63 2c 0a | 09 09 09 20 20 20 20 43 | *proc,.|... C|
|00004560| 6c 69 65 6e 74 44 61 74 | 61 20 63 6c 69 65 6e 74 |lientDat|a client|
|00004570| 44 61 74 61 29 29 3b 0a | 45 58 54 45 52 4e 20 76 |Data));.|EXTERN v|
|00004580| 6f 69 64 09 09 54 63 6c | 5f 44 65 6c 65 74 65 48 |oid..Tcl|_DeleteH|
|00004590| 61 73 68 45 6e 74 72 79 | 20 5f 41 4e 53 49 5f 41 |ashEntry| _ANSI_A|
|000045a0| 52 47 53 5f 28 28 0a 09 | 09 09 20 20 20 20 54 63 |RGS_((..|.. Tc|
|000045b0| 6c 5f 48 61 73 68 45 6e | 74 72 79 20 2a 65 6e 74 |l_HashEn|try *ent|
|000045c0| 72 79 50 74 72 29 29 3b | 0a 45 58 54 45 52 4e 20 |ryPtr));|.EXTERN |
|000045d0| 76 6f 69 64 09 09 54 63 | 6c 5f 44 65 6c 65 74 65 |void..Tc|l_Delete|
|000045e0| 48 61 73 68 54 61 62 6c | 65 20 5f 41 4e 53 49 5f |HashTabl|e _ANSI_|
|000045f0| 41 52 47 53 5f 28 28 0a | 09 09 09 20 20 20 20 54 |ARGS_((.|... T|
|00004600| 63 6c 5f 48 61 73 68 54 | 61 62 6c 65 20 2a 74 61 |cl_HashT|able *ta|
|00004610| 62 6c 65 50 74 72 29 29 | 3b 0a 45 58 54 45 52 4e |blePtr))|;.EXTERN|
|00004620| 20 63 68 61 72 20 2a 09 | 09 54 63 6c 5f 44 53 74 | char *.|.Tcl_DSt|
|00004630| 72 69 6e 67 41 70 70 65 | 6e 64 20 5f 41 4e 53 49 |ringAppe|nd _ANSI|
|00004640| 5f 41 52 47 53 5f 28 28 | 54 63 6c 5f 44 53 74 72 |_ARGS_((|Tcl_DStr|
|00004650| 69 6e 67 20 2a 64 73 50 | 74 72 2c 0a 09 09 09 20 |ing *dsP|tr,.... |
|00004660| 20 20 20 63 68 61 72 20 | 2a 73 74 72 69 6e 67 2c | char |*string,|
|00004670| 20 69 6e 74 20 6c 65 6e | 67 74 68 29 29 3b 0a 45 | int len|gth));.E|
|00004680| 58 54 45 52 4e 20 63 68 | 61 72 20 2a 09 09 54 63 |XTERN ch|ar *..Tc|
|00004690| 6c 5f 44 53 74 72 69 6e | 67 41 70 70 65 6e 64 45 |l_DStrin|gAppendE|
|000046a0| 6c 65 6d 65 6e 74 20 5f | 41 4e 53 49 5f 41 52 47 |lement _|ANSI_ARG|
|000046b0| 53 5f 28 28 0a 09 09 09 | 20 20 20 20 54 63 6c 5f |S_((....| Tcl_|
|000046c0| 44 53 74 72 69 6e 67 20 | 2a 64 73 50 74 72 2c 20 |DString |*dsPtr, |
|000046d0| 63 68 61 72 20 2a 73 74 | 72 69 6e 67 29 29 3b 0a |char *st|ring));.|
|000046e0| 45 58 54 45 52 4e 20 76 | 6f 69 64 09 09 54 63 6c |EXTERN v|oid..Tcl|
|000046f0| 5f 44 53 74 72 69 6e 67 | 45 6e 64 53 75 62 6c 69 |_DString|EndSubli|
|00004700| 73 74 20 5f 41 4e 53 49 | 5f 41 52 47 53 5f 28 28 |st _ANSI|_ARGS_((|
|00004710| 54 63 6c 5f 44 53 74 72 | 69 6e 67 20 2a 64 73 50 |Tcl_DStr|ing *dsP|
|00004720| 74 72 29 29 3b 0a 45 58 | 54 45 52 4e 20 76 6f 69 |tr));.EX|TERN voi|
|00004730| 64 09 09 54 63 6c 5f 44 | 53 74 72 69 6e 67 46 72 |d..Tcl_D|StringFr|
|00004740| 65 65 20 5f 41 4e 53 49 | 5f 41 52 47 53 5f 28 28 |ee _ANSI|_ARGS_((|
|00004750| 54 63 6c 5f 44 53 74 72 | 69 6e 67 20 2a 64 73 50 |Tcl_DStr|ing *dsP|
|00004760| 74 72 29 29 3b 0a 45 58 | 54 45 52 4e 20 76 6f 69 |tr));.EX|TERN voi|
|00004770| 64 09 09 54 63 6c 5f 44 | 53 74 72 69 6e 67 49 6e |d..Tcl_D|StringIn|
|00004780| 69 74 20 5f 41 4e 53 49 | 5f 41 52 47 53 5f 28 28 |it _ANSI|_ARGS_((|
|00004790| 54 63 6c 5f 44 53 74 72 | 69 6e 67 20 2a 64 73 50 |Tcl_DStr|ing *dsP|
|000047a0| 74 72 29 29 3b 0a 45 58 | 54 45 52 4e 20 76 6f 69 |tr));.EX|TERN voi|
|000047b0| 64 09 09 54 63 6c 5f 44 | 53 74 72 69 6e 67 52 65 |d..Tcl_D|StringRe|
|000047c0| 73 75 6c 74 20 5f 41 4e | 53 49 5f 41 52 47 53 5f |sult _AN|SI_ARGS_|
|000047d0| 28 28 54 63 6c 5f 49 6e | 74 65 72 70 20 2a 69 6e |((Tcl_In|terp *in|
|000047e0| 74 65 72 70 2c 0a 09 09 | 09 20 20 20 20 54 63 6c |terp,...|. Tcl|
|000047f0| 5f 44 53 74 72 69 6e 67 | 20 2a 64 73 50 74 72 29 |_DString| *dsPtr)|
|00004800| 29 3b 0a 45 58 54 45 52 | 4e 20 76 6f 69 64 09 09 |);.EXTER|N void..|
|00004810| 54 63 6c 5f 44 53 74 72 | 69 6e 67 53 74 61 72 74 |Tcl_DStr|ingStart|
|00004820| 53 75 62 6c 69 73 74 20 | 5f 41 4e 53 49 5f 41 52 |Sublist |_ANSI_AR|
|00004830| 47 53 5f 28 28 0a 09 09 | 09 20 20 20 20 54 63 6c |GS_((...|. Tcl|
|00004840| 5f 44 53 74 72 69 6e 67 | 20 2a 64 73 50 74 72 29 |_DString| *dsPtr)|
|00004850| 29 3b 0a 45 58 54 45 52 | 4e 20 76 6f 69 64 09 09 |);.EXTER|N void..|
|00004860| 54 63 6c 5f 44 53 74 72 | 69 6e 67 54 72 75 6e 63 |Tcl_DStr|ingTrunc|
|00004870| 20 5f 41 4e 53 49 5f 41 | 52 47 53 5f 28 28 54 63 | _ANSI_A|RGS_((Tc|
|00004880| 6c 5f 44 53 74 72 69 6e | 67 20 2a 64 73 50 74 72 |l_DStrin|g *dsPtr|
|00004890| 2c 0a 09 09 09 20 20 20 | 20 69 6e 74 20 6c 65 6e |,.... | int len|
|000048a0| 67 74 68 29 29 3b 0a 45 | 58 54 45 52 4e 20 69 6e |gth));.E|XTERN in|
|000048b0| 74 09 09 54 63 6c 5f 44 | 65 6c 65 74 65 43 6f 6d |t..Tcl_D|eleteCom|
|000048c0| 6d 61 6e 64 20 5f 41 4e | 53 49 5f 41 52 47 53 5f |mand _AN|SI_ARGS_|
|000048d0| 28 28 54 63 6c 5f 49 6e | 74 65 72 70 20 2a 69 6e |((Tcl_In|terp *in|
|000048e0| 74 65 72 70 2c 0a 09 09 | 09 20 20 20 20 63 68 61 |terp,...|. cha|
|000048f0| 72 20 2a 63 6d 64 4e 61 | 6d 65 29 29 3b 0a 45 58 |r *cmdNa|me));.EX|
|00004900| 54 45 52 4e 20 76 6f 69 | 64 09 09 54 63 6c 5f 44 |TERN voi|d..Tcl_D|
|00004910| 65 6c 65 74 65 49 6e 74 | 65 72 70 20 5f 41 4e 53 |eleteInt|erp _ANS|
|00004920| 49 5f 41 52 47 53 5f 28 | 28 54 63 6c 5f 49 6e 74 |I_ARGS_(|(Tcl_Int|
|00004930| 65 72 70 20 2a 69 6e 74 | 65 72 70 29 29 3b 0a 45 |erp *int|erp));.E|
|00004940| 58 54 45 52 4e 20 76 6f | 69 64 09 09 54 63 6c 5f |XTERN vo|id..Tcl_|
|00004950| 44 65 6c 65 74 65 54 72 | 61 63 65 20 5f 41 4e 53 |DeleteTr|ace _ANS|
|00004960| 49 5f 41 52 47 53 5f 28 | 28 54 63 6c 5f 49 6e 74 |I_ARGS_(|(Tcl_Int|
|00004970| 65 72 70 20 2a 69 6e 74 | 65 72 70 2c 0a 09 09 09 |erp *int|erp,....|
|00004980| 20 20 20 20 54 63 6c 5f | 54 72 61 63 65 20 74 72 | Tcl_|Trace tr|
|00004990| 61 63 65 29 29 3b 0a 45 | 58 54 45 52 4e 20 76 6f |ace));.E|XTERN vo|
|000049a0| 69 64 09 09 54 63 6c 5f | 44 65 74 61 63 68 50 69 |id..Tcl_|DetachPi|
|000049b0| 64 73 20 5f 41 4e 53 49 | 5f 41 52 47 53 5f 28 28 |ds _ANSI|_ARGS_((|
|000049c0| 69 6e 74 20 6e 75 6d 50 | 69 64 73 2c 20 69 6e 74 |int numP|ids, int|
|000049d0| 20 2a 70 69 64 50 74 72 | 29 29 3b 0a 45 58 54 45 | *pidPtr|));.EXTE|
|000049e0| 52 4e 20 76 6f 69 64 09 | 09 54 63 6c 5f 44 6f 6e |RN void.|.Tcl_Don|
|000049f0| 74 43 61 6c 6c 57 68 65 | 6e 44 65 6c 65 74 65 64 |tCallWhe|nDeleted|
|00004a00| 20 5f 41 4e 53 49 5f 41 | 52 47 53 5f 28 28 0a 09 | _ANSI_A|RGS_((..|
|00004a10| 09 09 20 20 20 20 54 63 | 6c 5f 49 6e 74 65 72 70 |.. Tc|l_Interp|
|00004a20| 20 2a 69 6e 74 65 72 70 | 2c 20 54 63 6c 5f 49 6e | *interp|, Tcl_In|
|00004a30| 74 65 72 70 44 65 6c 65 | 74 65 50 72 6f 63 20 2a |terpDele|teProc *|
|00004a40| 70 72 6f 63 2c 0a 09 09 | 09 20 20 20 20 43 6c 69 |proc,...|. Cli|
|00004a50| 65 6e 74 44 61 74 61 20 | 63 6c 69 65 6e 74 44 61 |entData |clientDa|
|00004a60| 74 61 29 29 3b 0a 45 58 | 54 45 52 4e 20 76 6f 69 |ta));.EX|TERN voi|
|00004a70| 64 09 09 54 63 6c 5f 45 | 6e 74 65 72 46 69 6c 65 |d..Tcl_E|nterFile|
|00004a80| 20 5f 41 4e 53 49 5f 41 | 52 47 53 5f 28 28 54 63 | _ANSI_A|RGS_((Tc|
|00004a90| 6c 5f 49 6e 74 65 72 70 | 20 2a 69 6e 74 65 72 70 |l_Interp| *interp|
|00004aa0| 2c 0a 09 09 09 20 20 20 | 20 46 49 4c 45 20 2a 66 |,.... | FILE *f|
|00004ab0| 69 6c 65 2c 20 69 6e 74 | 20 70 65 72 6d 69 73 73 |ile, int| permiss|
|00004ac0| 69 6f 6e 73 29 29 3b 0a | 45 58 54 45 52 4e 20 63 |ions));.|EXTERN c|
|00004ad0| 68 61 72 20 2a 09 09 54 | 63 6c 5f 45 72 72 6e 6f |har *..T|cl_Errno|
|00004ae0| 49 64 20 5f 41 4e 53 49 | 5f 41 52 47 53 5f 28 28 |Id _ANSI|_ARGS_((|
|00004af0| 76 6f 69 64 29 29 3b 0a | 45 58 54 45 52 4e 20 69 |void));.|EXTERN i|
|00004b00| 6e 74 09 09 54 63 6c 5f | 45 76 61 6c 20 5f 41 4e |nt..Tcl_|Eval _AN|
|00004b10| 53 49 5f 41 52 47 53 5f | 28 28 54 63 6c 5f 49 6e |SI_ARGS_|((Tcl_In|
|00004b20| 74 65 72 70 20 2a 69 6e | 74 65 72 70 2c 20 63 68 |terp *in|terp, ch|
|00004b30| 61 72 20 2a 63 6d 64 29 | 29 3b 0a 45 58 54 45 52 |ar *cmd)|);.EXTER|
|00004b40| 4e 20 69 6e 74 09 09 54 | 63 6c 5f 45 76 61 6c 46 |N int..T|cl_EvalF|
|00004b50| 69 6c 65 20 5f 41 4e 53 | 49 5f 41 52 47 53 5f 28 |ile _ANS|I_ARGS_(|
|00004b60| 28 54 63 6c 5f 49 6e 74 | 65 72 70 20 2a 69 6e 74 |(Tcl_Int|erp *int|
|00004b70| 65 72 70 2c 0a 09 09 09 | 20 20 20 20 63 68 61 72 |erp,....| char|
|00004b80| 20 2a 66 69 6c 65 4e 61 | 6d 65 29 29 3b 0a 45 58 | *fileNa|me));.EX|
|00004b90| 54 45 52 4e 20 69 6e 74 | 09 09 54 63 6c 5f 45 78 |TERN int|..Tcl_Ex|
|00004ba0| 70 72 42 6f 6f 6c 65 61 | 6e 20 5f 41 4e 53 49 5f |prBoolea|n _ANSI_|
|00004bb0| 41 52 47 53 5f 28 28 54 | 63 6c 5f 49 6e 74 65 72 |ARGS_((T|cl_Inter|
|00004bc0| 70 20 2a 69 6e 74 65 72 | 70 2c 0a 09 09 09 20 20 |p *inter|p,.... |
|00004bd0| 20 20 63 68 61 72 20 2a | 73 74 72 69 6e 67 2c 20 | char *|string, |
|00004be0| 69 6e 74 20 2a 70 74 72 | 29 29 3b 0a 45 58 54 45 |int *ptr|));.EXTE|
|00004bf0| 52 4e 20 69 6e 74 09 09 | 54 63 6c 5f 45 78 70 72 |RN int..|Tcl_Expr|
|00004c00| 44 6f 75 62 6c 65 20 5f | 41 4e 53 49 5f 41 52 47 |Double _|ANSI_ARG|
|00004c10| 53 5f 28 28 54 63 6c 5f | 49 6e 74 65 72 70 20 2a |S_((Tcl_|Interp *|
|00004c20| 69 6e 74 65 72 70 2c 0a | 09 09 09 20 20 20 20 63 |interp,.|... c|
|00004c30| 68 61 72 20 2a 73 74 72 | 69 6e 67 2c 20 64 6f 75 |har *str|ing, dou|
|00004c40| 62 6c 65 20 2a 70 74 72 | 29 29 3b 0a 45 58 54 45 |ble *ptr|));.EXTE|
|00004c50| 52 4e 20 69 6e 74 09 09 | 54 63 6c 5f 45 78 70 72 |RN int..|Tcl_Expr|
|00004c60| 4c 6f 6e 67 20 5f 41 4e | 53 49 5f 41 52 47 53 5f |Long _AN|SI_ARGS_|
|00004c70| 28 28 54 63 6c 5f 49 6e | 74 65 72 70 20 2a 69 6e |((Tcl_In|terp *in|
|00004c80| 74 65 72 70 2c 0a 09 09 | 09 20 20 20 20 63 68 61 |terp,...|. cha|
|00004c90| 72 20 2a 73 74 72 69 6e | 67 2c 20 6c 6f 6e 67 20 |r *strin|g, long |
|00004ca0| 2a 70 74 72 29 29 3b 0a | 45 58 54 45 52 4e 20 69 |*ptr));.|EXTERN i|
|00004cb0| 6e 74 09 09 54 63 6c 5f | 45 78 70 72 53 74 72 69 |nt..Tcl_|ExprStri|
|00004cc0| 6e 67 20 5f 41 4e 53 49 | 5f 41 52 47 53 5f 28 28 |ng _ANSI|_ARGS_((|
|00004cd0| 54 63 6c 5f 49 6e 74 65 | 72 70 20 2a 69 6e 74 65 |Tcl_Inte|rp *inte|
|00004ce0| 72 70 2c 0a 09 09 09 20 | 20 20 20 63 68 61 72 20 |rp,.... | char |
|00004cf0| 2a 73 74 72 69 6e 67 29 | 29 3b 0a 45 58 54 45 52 |*string)|);.EXTER|
|00004d00| 4e 20 69 6e 74 09 09 54 | 63 6c 5f 46 69 6c 65 50 |N int..T|cl_FileP|
|00004d10| 65 72 6d 69 73 73 69 6f | 6e 73 20 5f 41 4e 53 49 |ermissio|ns _ANSI|
|00004d20| 5f 41 52 47 53 5f 28 28 | 46 49 4c 45 20 2a 66 69 |_ARGS_((|FILE *fi|
|00004d30| 6c 65 29 29 3b 0a 45 58 | 54 45 52 4e 20 54 63 6c |le));.EX|TERN Tcl|
|00004d40| 5f 48 61 73 68 45 6e 74 | 72 79 20 2a 09 54 63 6c |_HashEnt|ry *.Tcl|
|00004d50| 5f 46 69 72 73 74 48 61 | 73 68 45 6e 74 72 79 20 |_FirstHa|shEntry |
|00004d60| 5f 41 4e 53 49 5f 41 52 | 47 53 5f 28 28 0a 09 09 |_ANSI_AR|GS_((...|
|00004d70| 09 20 20 20 20 54 63 6c | 5f 48 61 73 68 54 61 62 |. Tcl|_HashTab|
|00004d80| 6c 65 20 2a 74 61 62 6c | 65 50 74 72 2c 0a 09 09 |le *tabl|ePtr,...|
|00004d90| 09 20 20 20 20 54 63 6c | 5f 48 61 73 68 53 65 61 |. Tcl|_HashSea|
|00004da0| 72 63 68 20 2a 73 65 61 | 72 63 68 50 74 72 29 29 |rch *sea|rchPtr))|
|00004db0| 3b 0a 45 58 54 45 52 4e | 20 69 6e 74 09 09 54 63 |;.EXTERN| int..Tc|
|00004dc0| 6c 5f 47 65 74 42 6f 6f | 6c 65 61 6e 20 5f 41 4e |l_GetBoo|lean _AN|
|00004dd0| 53 49 5f 41 52 47 53 5f | 28 28 54 63 6c 5f 49 6e |SI_ARGS_|((Tcl_In|
|00004de0| 74 65 72 70 20 2a 69 6e | 74 65 72 70 2c 0a 09 09 |terp *in|terp,...|
|00004df0| 09 20 20 20 20 63 68 61 | 72 20 2a 73 74 72 69 6e |. cha|r *strin|
|00004e00| 67 2c 20 69 6e 74 20 2a | 62 6f 6f 6c 50 74 72 29 |g, int *|boolPtr)|
|00004e10| 29 3b 0a 45 58 54 45 52 | 4e 20 69 6e 74 09 09 54 |);.EXTER|N int..T|
|00004e20| 63 6c 5f 47 65 74 43 6f | 6d 6d 61 6e 64 49 6e 66 |cl_GetCo|mmandInf|
|00004e30| 6f 20 5f 41 4e 53 49 5f | 41 52 47 53 5f 28 28 54 |o _ANSI_|ARGS_((T|
|00004e40| 63 6c 5f 49 6e 74 65 72 | 70 20 2a 69 6e 74 65 72 |cl_Inter|p *inter|
|00004e50| 70 2c 0a 09 09 09 20 20 | 20 20 63 68 61 72 20 2a |p,.... | char *|
|00004e60| 63 6d 64 4e 61 6d 65 2c | 20 54 63 6c 5f 43 6d 64 |cmdName,| Tcl_Cmd|
|00004e70| 49 6e 66 6f 20 2a 69 6e | 66 6f 50 74 72 29 29 3b |Info *in|foPtr));|
|00004e80| 0a 45 58 54 45 52 4e 20 | 69 6e 74 09 09 54 63 6c |.EXTERN |int..Tcl|
|00004e90| 5f 47 65 74 44 6f 75 62 | 6c 65 20 5f 41 4e 53 49 |_GetDoub|le _ANSI|
|00004ea0| 5f 41 52 47 53 5f 28 28 | 54 63 6c 5f 49 6e 74 65 |_ARGS_((|Tcl_Inte|
|00004eb0| 72 70 20 2a 69 6e 74 65 | 72 70 2c 0a 09 09 09 20 |rp *inte|rp,.... |
|00004ec0| 20 20 20 63 68 61 72 20 | 2a 73 74 72 69 6e 67 2c | char |*string,|
|00004ed0| 20 64 6f 75 62 6c 65 20 | 2a 64 6f 75 62 6c 65 50 | double |*doubleP|
|00004ee0| 74 72 29 29 3b 0a 45 58 | 54 45 52 4e 20 69 6e 74 |tr));.EX|TERN int|
|00004ef0| 09 09 54 63 6c 5f 47 65 | 74 49 6e 74 20 5f 41 4e |..Tcl_Ge|tInt _AN|
|00004f00| 53 49 5f 41 52 47 53 5f | 28 28 54 63 6c 5f 49 6e |SI_ARGS_|((Tcl_In|
|00004f10| 74 65 72 70 20 2a 69 6e | 74 65 72 70 2c 0a 09 09 |terp *in|terp,...|
|00004f20| 09 20 20 20 20 63 68 61 | 72 20 2a 73 74 72 69 6e |. cha|r *strin|
|00004f30| 67 2c 20 69 6e 74 20 2a | 69 6e 74 50 74 72 29 29 |g, int *|intPtr))|
|00004f40| 3b 0a 45 58 54 45 52 4e | 20 69 6e 74 09 09 54 63 |;.EXTERN| int..Tc|
|00004f50| 6c 5f 47 65 74 4f 70 65 | 6e 46 69 6c 65 20 5f 41 |l_GetOpe|nFile _A|
|00004f60| 4e 53 49 5f 41 52 47 53 | 5f 28 28 54 63 6c 5f 49 |NSI_ARGS|_((Tcl_I|
|00004f70| 6e 74 65 72 70 20 2a 69 | 6e 74 65 72 70 2c 0a 09 |nterp *i|nterp,..|
|00004f80| 09 09 20 20 20 20 63 68 | 61 72 20 2a 73 74 72 69 |.. ch|ar *stri|
|00004f90| 6e 67 2c 20 69 6e 74 20 | 77 72 69 74 65 2c 20 69 |ng, int |write, i|
|00004fa0| 6e 74 20 63 68 65 63 6b | 55 73 61 67 65 2c 0a 09 |nt check|Usage,..|
|00004fb0| 09 09 20 20 20 20 46 49 | 4c 45 20 2a 2a 66 69 6c |.. FI|LE **fil|
|00004fc0| 65 50 74 72 29 29 3b 0a | 45 58 54 45 52 4e 20 63 |ePtr));.|EXTERN c|
|00004fd0| 68 61 72 20 2a 09 09 54 | 63 6c 5f 47 65 74 56 61 |har *..T|cl_GetVa|
|00004fe0| 72 20 5f 41 4e 53 49 5f | 41 52 47 53 5f 28 28 54 |r _ANSI_|ARGS_((T|
|00004ff0| 63 6c 5f 49 6e 74 65 72 | 70 20 2a 69 6e 74 65 72 |cl_Inter|p *inter|
|00005000| 70 2c 0a 09 09 09 20 20 | 20 20 63 68 61 72 20 2a |p,.... | char *|
|00005010| 76 61 72 4e 61 6d 65 2c | 20 69 6e 74 20 66 6c 61 |varName,| int fla|
|00005020| 67 73 29 29 3b 0a 45 58 | 54 45 52 4e 20 63 68 61 |gs));.EX|TERN cha|
|00005030| 72 20 2a 09 09 54 63 6c | 5f 47 65 74 56 61 72 32 |r *..Tcl|_GetVar2|
|00005040| 20 5f 41 4e 53 49 5f 41 | 52 47 53 5f 28 28 54 63 | _ANSI_A|RGS_((Tc|
|00005050| 6c 5f 49 6e 74 65 72 70 | 20 2a 69 6e 74 65 72 70 |l_Interp| *interp|
|00005060| 2c 0a 09 09 09 20 20 20 | 20 63 68 61 72 20 2a 70 |,.... | char *p|
|00005070| 61 72 74 31 2c 20 63 68 | 61 72 20 2a 70 61 72 74 |art1, ch|ar *part|
|00005080| 32 2c 20 69 6e 74 20 66 | 6c 61 67 73 29 29 3b 0a |2, int f|lags));.|
|00005090| 45 58 54 45 52 4e 20 69 | 6e 74 09 09 54 63 6c 5f |EXTERN i|nt..Tcl_|
|000050a0| 47 6c 6f 62 61 6c 45 76 | 61 6c 20 5f 41 4e 53 49 |GlobalEv|al _ANSI|
|000050b0| 5f 41 52 47 53 5f 28 28 | 54 63 6c 5f 49 6e 74 65 |_ARGS_((|Tcl_Inte|
|000050c0| 72 70 20 2a 69 6e 74 65 | 72 70 2c 0a 09 09 09 20 |rp *inte|rp,.... |
|000050d0| 20 20 20 63 68 61 72 20 | 2a 63 6f 6d 6d 61 6e 64 | char |*command|
|000050e0| 29 29 3b 0a 45 58 54 45 | 52 4e 20 63 68 61 72 20 |));.EXTE|RN char |
|000050f0| 2a 09 09 54 63 6c 5f 48 | 61 73 68 53 74 61 74 73 |*..Tcl_H|ashStats|
|00005100| 20 5f 41 4e 53 49 5f 41 | 52 47 53 5f 28 28 54 63 | _ANSI_A|RGS_((Tc|
|00005110| 6c 5f 48 61 73 68 54 61 | 62 6c 65 20 2a 74 61 62 |l_HashTa|ble *tab|
|00005120| 6c 65 50 74 72 29 29 3b | 0a 45 58 54 45 52 4e 20 |lePtr));|.EXTERN |
|00005130| 69 6e 74 09 09 54 63 6c | 5f 49 6e 69 74 20 5f 41 |int..Tcl|_Init _A|
|00005140| 4e 53 49 5f 41 52 47 53 | 5f 28 28 54 63 6c 5f 49 |NSI_ARGS|_((Tcl_I|
|00005150| 6e 74 65 72 70 20 2a 69 | 6e 74 65 72 70 29 29 3b |nterp *i|nterp));|
|00005160| 0a 45 58 54 45 52 4e 20 | 76 6f 69 64 09 09 54 63 |.EXTERN |void..Tc|
|00005170| 6c 5f 49 6e 69 74 48 61 | 73 68 54 61 62 6c 65 20 |l_InitHa|shTable |
|00005180| 5f 41 4e 53 49 5f 41 52 | 47 53 5f 28 28 54 63 6c |_ANSI_AR|GS_((Tcl|
|00005190| 5f 48 61 73 68 54 61 62 | 6c 65 20 2a 74 61 62 6c |_HashTab|le *tabl|
|000051a0| 65 50 74 72 2c 0a 09 09 | 09 20 20 20 20 69 6e 74 |ePtr,...|. int|
|000051b0| 20 6b 65 79 54 79 70 65 | 29 29 3b 0a 45 58 54 45 | keyType|));.EXTE|
|000051c0| 52 4e 20 76 6f 69 64 09 | 09 54 63 6c 5f 49 6e 69 |RN void.|.Tcl_Ini|
|000051d0| 74 4d 65 6d 6f 72 79 20 | 5f 41 4e 53 49 5f 41 52 |tMemory |_ANSI_AR|
|000051e0| 47 53 5f 28 28 54 63 6c | 5f 49 6e 74 65 72 70 20 |GS_((Tcl|_Interp |
|000051f0| 2a 69 6e 74 65 72 70 29 | 29 3b 0a 45 58 54 45 52 |*interp)|);.EXTER|
|00005200| 4e 20 69 6e 74 09 09 54 | 63 6c 5f 4c 69 6e 6b 56 |N int..T|cl_LinkV|
|00005210| 61 72 20 5f 41 4e 53 49 | 5f 41 52 47 53 5f 28 28 |ar _ANSI|_ARGS_((|
|00005220| 54 63 6c 5f 49 6e 74 65 | 72 70 20 2a 69 6e 74 65 |Tcl_Inte|rp *inte|
|00005230| 72 70 2c 0a 09 09 09 20 | 20 20 20 63 68 61 72 20 |rp,.... | char |
|00005240| 2a 76 61 72 4e 61 6d 65 | 2c 20 63 68 61 72 20 2a |*varName|, char *|
|00005250| 61 64 64 72 2c 20 69 6e | 74 20 74 79 70 65 29 29 |addr, in|t type))|
|00005260| 3b 0a 45 58 54 45 52 4e | 20 63 68 61 72 20 2a 09 |;.EXTERN| char *.|
|00005270| 09 54 63 6c 5f 4d 65 72 | 67 65 20 5f 41 4e 53 49 |.Tcl_Mer|ge _ANSI|
|00005280| 5f 41 52 47 53 5f 28 28 | 69 6e 74 20 61 72 67 63 |_ARGS_((|int argc|
|00005290| 2c 20 63 68 61 72 20 2a | 2a 61 72 67 76 29 29 3b |, char *|*argv));|
|000052a0| 0a 45 58 54 45 52 4e 20 | 54 63 6c 5f 48 61 73 68 |.EXTERN |Tcl_Hash|
|000052b0| 45 6e 74 72 79 20 2a 09 | 54 63 6c 5f 4e 65 78 74 |Entry *.|Tcl_Next|
|000052c0| 48 61 73 68 45 6e 74 72 | 79 20 5f 41 4e 53 49 5f |HashEntr|y _ANSI_|
|000052d0| 41 52 47 53 5f 28 28 0a | 09 09 09 20 20 20 20 54 |ARGS_((.|... T|
|000052e0| 63 6c 5f 48 61 73 68 53 | 65 61 72 63 68 20 2a 73 |cl_HashS|earch *s|
|000052f0| 65 61 72 63 68 50 74 72 | 29 29 3b 0a 45 58 54 45 |earchPtr|));.EXTE|
|00005300| 52 4e 20 63 68 61 72 20 | 2a 09 09 54 63 6c 5f 50 |RN char |*..Tcl_P|
|00005310| 61 72 73 65 56 61 72 20 | 5f 41 4e 53 49 5f 41 52 |arseVar |_ANSI_AR|
|00005320| 47 53 5f 28 28 54 63 6c | 5f 49 6e 74 65 72 70 20 |GS_((Tcl|_Interp |
|00005330| 2a 69 6e 74 65 72 70 2c | 0a 09 09 09 20 20 20 20 |*interp,|.... |
|00005340| 63 68 61 72 20 2a 73 74 | 72 69 6e 67 2c 20 63 68 |char *st|ring, ch|
|00005350| 61 72 20 2a 2a 74 65 72 | 6d 50 74 72 29 29 3b 0a |ar **ter|mPtr));.|
|00005360| 45 58 54 45 52 4e 20 63 | 68 61 72 20 2a 09 09 54 |EXTERN c|har *..T|
|00005370| 63 6c 5f 50 6f 73 69 78 | 45 72 72 6f 72 20 5f 41 |cl_Posix|Error _A|
|00005380| 4e 53 49 5f 41 52 47 53 | 5f 28 28 54 63 6c 5f 49 |NSI_ARGS|_((Tcl_I|
|00005390| 6e 74 65 72 70 20 2a 69 | 6e 74 65 72 70 29 29 3b |nterp *i|nterp));|
|000053a0| 0a 45 58 54 45 52 4e 20 | 76 6f 69 64 09 09 54 63 |.EXTERN |void..Tc|
|000053b0| 6c 5f 50 72 69 6e 74 44 | 6f 75 62 6c 65 20 5f 41 |l_PrintD|ouble _A|
|000053c0| 4e 53 49 5f 41 52 47 53 | 5f 28 28 54 63 6c 5f 49 |NSI_ARGS|_((Tcl_I|
|000053d0| 6e 74 65 72 70 20 2a 69 | 6e 74 65 72 70 2c 0a 09 |nterp *i|nterp,..|
|000053e0| 09 09 20 20 20 20 64 6f | 75 62 6c 65 20 76 61 6c |.. do|uble val|
|000053f0| 75 65 2c 20 63 68 61 72 | 20 2a 64 73 74 29 29 3b |ue, char| *dst));|
|00005400| 0a 45 58 54 45 52 4e 20 | 76 6f 69 64 09 09 54 63 |.EXTERN |void..Tc|
|00005410| 6c 5f 52 65 61 70 44 65 | 74 61 63 68 65 64 50 72 |l_ReapDe|tachedPr|
|00005420| 6f 63 73 20 5f 41 4e 53 | 49 5f 41 52 47 53 5f 28 |ocs _ANS|I_ARGS_(|
|00005430| 28 76 6f 69 64 29 29 3b | 0a 45 58 54 45 52 4e 20 |(void));|.EXTERN |
|00005440| 69 6e 74 09 09 54 63 6c | 5f 52 65 63 6f 72 64 41 |int..Tcl|_RecordA|
|00005450| 6e 64 45 76 61 6c 20 5f | 41 4e 53 49 5f 41 52 47 |ndEval _|ANSI_ARG|
|00005460| 53 5f 28 28 54 63 6c 5f | 49 6e 74 65 72 70 20 2a |S_((Tcl_|Interp *|
|00005470| 69 6e 74 65 72 70 2c 0a | 09 09 09 20 20 20 20 63 |interp,.|... c|
|00005480| 68 61 72 20 2a 63 6d 64 | 2c 20 69 6e 74 20 66 6c |har *cmd|, int fl|
|00005490| 61 67 73 29 29 3b 0a 45 | 58 54 45 52 4e 20 69 6e |ags));.E|XTERN in|
|000054a0| 74 09 09 54 63 6c 5f 52 | 65 67 45 78 70 4d 61 74 |t..Tcl_R|egExpMat|
|000054b0| 63 68 20 5f 41 4e 53 49 | 5f 41 52 47 53 5f 28 28 |ch _ANSI|_ARGS_((|
|000054c0| 54 63 6c 5f 49 6e 74 65 | 72 70 20 2a 69 6e 74 65 |Tcl_Inte|rp *inte|
|000054d0| 72 70 2c 0a 09 09 09 20 | 20 20 20 63 68 61 72 20 |rp,.... | char |
|000054e0| 2a 73 74 72 69 6e 67 2c | 20 63 68 61 72 20 2a 70 |*string,| char *p|
|000054f0| 61 74 74 65 72 6e 29 29 | 3b 0a 45 58 54 45 52 4e |attern))|;.EXTERN|
|00005500| 20 76 6f 69 64 09 09 54 | 63 6c 5f 52 65 73 65 74 | void..T|cl_Reset|
|00005510| 52 65 73 75 6c 74 20 5f | 41 4e 53 49 5f 41 52 47 |Result _|ANSI_ARG|
|00005520| 53 5f 28 28 54 63 6c 5f | 49 6e 74 65 72 70 20 2a |S_((Tcl_|Interp *|
|00005530| 69 6e 74 65 72 70 29 29 | 3b 0a 23 64 65 66 69 6e |interp))|;.#defin|
|00005540| 65 20 54 63 6c 5f 52 65 | 74 75 72 6e 20 54 63 6c |e Tcl_Re|turn Tcl|
|00005550| 5f 53 65 74 52 65 73 75 | 6c 74 0a 45 58 54 45 52 |_SetResu|lt.EXTER|
|00005560| 4e 20 69 6e 74 09 09 54 | 63 6c 5f 53 63 61 6e 45 |N int..T|cl_ScanE|
|00005570| 6c 65 6d 65 6e 74 20 5f | 41 4e 53 49 5f 41 52 47 |lement _|ANSI_ARG|
|00005580| 53 5f 28 28 63 68 61 72 | 20 2a 73 74 72 69 6e 67 |S_((char| *string|
|00005590| 2c 0a 09 09 09 20 20 20 | 20 69 6e 74 20 2a 66 6c |,.... | int *fl|
|000055a0| 61 67 50 74 72 29 29 3b | 0a 45 58 54 45 52 4e 20 |agPtr));|.EXTERN |
|000055b0| 69 6e 74 09 09 54 63 6c | 5f 53 65 74 43 6f 6d 6d |int..Tcl|_SetComm|
|000055c0| 61 6e 64 49 6e 66 6f 20 | 5f 41 4e 53 49 5f 41 52 |andInfo |_ANSI_AR|
|000055d0| 47 53 5f 28 28 54 63 6c | 5f 49 6e 74 65 72 70 20 |GS_((Tcl|_Interp |
|000055e0| 2a 69 6e 74 65 72 70 2c | 0a 09 09 09 20 20 20 20 |*interp,|.... |
|000055f0| 63 68 61 72 20 2a 63 6d | 64 4e 61 6d 65 2c 20 54 |char *cm|dName, T|
|00005600| 63 6c 5f 43 6d 64 49 6e | 66 6f 20 2a 69 6e 66 6f |cl_CmdIn|fo *info|
|00005610| 50 74 72 29 29 3b 0a 45 | 58 54 45 52 4e 20 76 6f |Ptr));.E|XTERN vo|
|00005620| 69 64 09 09 54 63 6c 5f | 53 65 74 45 72 72 6f 72 |id..Tcl_|SetError|
|00005630| 43 6f 64 65 20 5f 41 4e | 53 49 5f 41 52 47 53 5f |Code _AN|SI_ARGS_|
|00005640| 28 56 41 52 41 52 47 53 | 29 3b 0a 45 58 54 45 52 |(VARARGS|);.EXTER|
|00005650| 4e 20 69 6e 74 09 09 54 | 63 6c 5f 53 65 74 52 65 |N int..T|cl_SetRe|
|00005660| 63 75 72 73 69 6f 6e 4c | 69 6d 69 74 20 5f 41 4e |cursionL|imit _AN|
|00005670| 53 49 5f 41 52 47 53 5f | 28 28 54 63 6c 5f 49 6e |SI_ARGS_|((Tcl_In|
|00005680| 74 65 72 70 20 2a 69 6e | 74 65 72 70 2c 0a 09 09 |terp *in|terp,...|
|00005690| 09 20 20 20 20 69 6e 74 | 20 64 65 70 74 68 29 29 |. int| depth))|
|000056a0| 3b 0a 45 58 54 45 52 4e | 20 76 6f 69 64 09 09 54 |;.EXTERN| void..T|
|000056b0| 63 6c 5f 53 65 74 52 65 | 73 75 6c 74 20 5f 41 4e |cl_SetRe|sult _AN|
|000056c0| 53 49 5f 41 52 47 53 5f | 28 28 54 63 6c 5f 49 6e |SI_ARGS_|((Tcl_In|
|000056d0| 74 65 72 70 20 2a 69 6e | 74 65 72 70 2c 0a 09 09 |terp *in|terp,...|
|000056e0| 09 20 20 20 20 63 68 61 | 72 20 2a 73 74 72 69 6e |. cha|r *strin|
|000056f0| 67 2c 20 54 63 6c 5f 46 | 72 65 65 50 72 6f 63 20 |g, Tcl_F|reeProc |
|00005700| 2a 66 72 65 65 50 72 6f | 63 29 29 3b 0a 45 58 54 |*freePro|c));.EXT|
|00005710| 45 52 4e 20 63 68 61 72 | 20 2a 09 09 54 63 6c 5f |ERN char| *..Tcl_|
|00005720| 53 65 74 56 61 72 20 5f | 41 4e 53 49 5f 41 52 47 |SetVar _|ANSI_ARG|
|00005730| 53 5f 28 28 54 63 6c 5f | 49 6e 74 65 72 70 20 2a |S_((Tcl_|Interp *|
|00005740| 69 6e 74 65 72 70 2c 0a | 09 09 09 20 20 20 20 63 |interp,.|... c|
|00005750| 68 61 72 20 2a 76 61 72 | 4e 61 6d 65 2c 20 63 68 |har *var|Name, ch|
|00005760| 61 72 20 2a 6e 65 77 56 | 61 6c 75 65 2c 20 69 6e |ar *newV|alue, in|
|00005770| 74 20 66 6c 61 67 73 29 | 29 3b 0a 45 58 54 45 52 |t flags)|);.EXTER|
|00005780| 4e 20 63 68 61 72 20 2a | 09 09 54 63 6c 5f 53 65 |N char *|..Tcl_Se|
|00005790| 74 56 61 72 32 20 5f 41 | 4e 53 49 5f 41 52 47 53 |tVar2 _A|NSI_ARGS|
|000057a0| 5f 28 28 54 63 6c 5f 49 | 6e 74 65 72 70 20 2a 69 |_((Tcl_I|nterp *i|
|000057b0| 6e 74 65 72 70 2c 0a 09 | 09 09 20 20 20 20 63 68 |nterp,..|.. ch|
|000057c0| 61 72 20 2a 70 61 72 74 | 31 2c 20 63 68 61 72 20 |ar *part|1, char |
|000057d0| 2a 70 61 72 74 32 2c 20 | 63 68 61 72 20 2a 6e 65 |*part2, |char *ne|
|000057e0| 77 56 61 6c 75 65 2c 0a | 09 09 09 20 20 20 20 69 |wValue,.|... i|
|000057f0| 6e 74 20 66 6c 61 67 73 | 29 29 3b 0a 45 58 54 45 |nt flags|));.EXTE|
|00005800| 52 4e 20 63 68 61 72 20 | 2a 09 09 54 63 6c 5f 53 |RN char |*..Tcl_S|
|00005810| 69 67 6e 61 6c 49 64 20 | 5f 41 4e 53 49 5f 41 52 |ignalId |_ANSI_AR|
|00005820| 47 53 5f 28 28 69 6e 74 | 20 73 69 67 29 29 3b 0a |GS_((int| sig));.|
|00005830| 45 58 54 45 52 4e 20 63 | 68 61 72 20 2a 09 09 54 |EXTERN c|har *..T|
|00005840| 63 6c 5f 53 69 67 6e 61 | 6c 4d 73 67 20 5f 41 4e |cl_Signa|lMsg _AN|
|00005850| 53 49 5f 41 52 47 53 5f | 28 28 69 6e 74 20 73 69 |SI_ARGS_|((int si|
|00005860| 67 29 29 3b 0a 45 58 54 | 45 52 4e 20 69 6e 74 09 |g));.EXT|ERN int.|
|00005870| 09 54 63 6c 5f 53 70 6c | 69 74 4c 69 73 74 20 5f |.Tcl_Spl|itList _|
|00005880| 41 4e 53 49 5f 41 52 47 | 53 5f 28 28 54 63 6c 5f |ANSI_ARG|S_((Tcl_|
|00005890| 49 6e 74 65 72 70 20 2a | 69 6e 74 65 72 70 2c 0a |Interp *|interp,.|
|000058a0| 09 09 09 20 20 20 20 63 | 68 61 72 20 2a 6c 69 73 |... c|har *lis|
|000058b0| 74 2c 20 69 6e 74 20 2a | 61 72 67 63 50 74 72 2c |t, int *|argcPtr,|
|000058c0| 20 63 68 61 72 20 2a 2a | 2a 61 72 67 76 50 74 72 | char **|*argvPtr|
|000058d0| 29 29 3b 0a 45 58 54 45 | 52 4e 20 69 6e 74 09 09 |));.EXTE|RN int..|
|000058e0| 54 63 6c 5f 53 74 72 69 | 6e 67 4d 61 74 63 68 20 |Tcl_Stri|ngMatch |
|000058f0| 5f 41 4e 53 49 5f 41 52 | 47 53 5f 28 28 63 68 61 |_ANSI_AR|GS_((cha|
|00005900| 72 20 2a 73 74 72 69 6e | 67 2c 0a 09 09 09 20 20 |r *strin|g,.... |
|00005910| 20 20 63 68 61 72 20 2a | 70 61 74 74 65 72 6e 29 | char *|pattern)|
|00005920| 29 3b 0a 45 58 54 45 52 | 4e 20 63 68 61 72 20 2a |);.EXTER|N char *|
|00005930| 09 09 54 63 6c 5f 54 69 | 6c 64 65 53 75 62 73 74 |..Tcl_Ti|ldeSubst|
|00005940| 20 5f 41 4e 53 49 5f 41 | 52 47 53 5f 28 28 54 63 | _ANSI_A|RGS_((Tc|
|00005950| 6c 5f 49 6e 74 65 72 70 | 20 2a 69 6e 74 65 72 70 |l_Interp| *interp|
|00005960| 2c 0a 09 09 09 20 20 20 | 20 63 68 61 72 20 2a 6e |,.... | char *n|
|00005970| 61 6d 65 2c 20 54 63 6c | 5f 44 53 74 72 69 6e 67 |ame, Tcl|_DString|
|00005980| 20 2a 62 75 66 66 65 72 | 50 74 72 29 29 3b 0a 45 | *buffer|Ptr));.E|
|00005990| 58 54 45 52 4e 20 69 6e | 74 09 09 54 63 6c 5f 54 |XTERN in|t..Tcl_T|
|000059a0| 72 61 63 65 56 61 72 20 | 5f 41 4e 53 49 5f 41 52 |raceVar |_ANSI_AR|
|000059b0| 47 53 5f 28 28 54 63 6c | 5f 49 6e 74 65 72 70 20 |GS_((Tcl|_Interp |
|000059c0| 2a 69 6e 74 65 72 70 2c | 0a 09 09 09 20 20 20 20 |*interp,|.... |
|000059d0| 63 68 61 72 20 2a 76 61 | 72 4e 61 6d 65 2c 20 69 |char *va|rName, i|
|000059e0| 6e 74 20 66 6c 61 67 73 | 2c 20 54 63 6c 5f 56 61 |nt flags|, Tcl_Va|
|000059f0| 72 54 72 61 63 65 50 72 | 6f 63 20 2a 70 72 6f 63 |rTracePr|oc *proc|
|00005a00| 2c 0a 09 09 09 20 20 20 | 20 43 6c 69 65 6e 74 44 |,.... | ClientD|
|00005a10| 61 74 61 20 63 6c 69 65 | 6e 74 44 61 74 61 29 29 |ata clie|ntData))|
|00005a20| 3b 0a 45 58 54 45 52 4e | 20 69 6e 74 09 09 54 63 |;.EXTERN| int..Tc|
|00005a30| 6c 5f 54 72 61 63 65 56 | 61 72 32 20 5f 41 4e 53 |l_TraceV|ar2 _ANS|
|00005a40| 49 5f 41 52 47 53 5f 28 | 28 54 63 6c 5f 49 6e 74 |I_ARGS_(|(Tcl_Int|
|00005a50| 65 72 70 20 2a 69 6e 74 | 65 72 70 2c 0a 09 09 09 |erp *int|erp,....|
|00005a60| 20 20 20 20 63 68 61 72 | 20 2a 70 61 72 74 31 2c | char| *part1,|
|00005a70| 20 63 68 61 72 20 2a 70 | 61 72 74 32 2c 20 69 6e | char *p|art2, in|
|00005a80| 74 20 66 6c 61 67 73 2c | 0a 09 09 09 20 20 20 20 |t flags,|.... |
|00005a90| 54 63 6c 5f 56 61 72 54 | 72 61 63 65 50 72 6f 63 |Tcl_VarT|raceProc|
|00005aa0| 20 2a 70 72 6f 63 2c 20 | 43 6c 69 65 6e 74 44 61 | *proc, |ClientDa|
|00005ab0| 74 61 20 63 6c 69 65 6e | 74 44 61 74 61 29 29 3b |ta clien|tData));|
|00005ac0| 0a 45 58 54 45 52 4e 20 | 76 6f 69 64 09 09 54 63 |.EXTERN |void..Tc|
|00005ad0| 6c 5f 55 6e 6c 69 6e 6b | 56 61 72 20 5f 41 4e 53 |l_Unlink|Var _ANS|
|00005ae0| 49 5f 41 52 47 53 5f 28 | 28 54 63 6c 5f 49 6e 74 |I_ARGS_(|(Tcl_Int|
|00005af0| 65 72 70 20 2a 69 6e 74 | 65 72 70 2c 0a 09 09 09 |erp *int|erp,....|
|00005b00| 20 20 20 20 63 68 61 72 | 20 2a 76 61 72 4e 61 6d | char| *varNam|
|00005b10| 65 29 29 3b 0a 45 58 54 | 45 52 4e 20 69 6e 74 09 |e));.EXT|ERN int.|
|00005b20| 09 54 63 6c 5f 55 6e 73 | 65 74 56 61 72 20 5f 41 |.Tcl_Uns|etVar _A|
|00005b30| 4e 53 49 5f 41 52 47 53 | 5f 28 28 54 63 6c 5f 49 |NSI_ARGS|_((Tcl_I|
|00005b40| 6e 74 65 72 70 20 2a 69 | 6e 74 65 72 70 2c 0a 09 |nterp *i|nterp,..|
|00005b50| 09 09 20 20 20 20 63 68 | 61 72 20 2a 76 61 72 4e |.. ch|ar *varN|
|00005b60| 61 6d 65 2c 20 69 6e 74 | 20 66 6c 61 67 73 29 29 |ame, int| flags))|
|00005b70| 3b 0a 45 58 54 45 52 4e | 20 69 6e 74 09 09 54 63 |;.EXTERN| int..Tc|
|00005b80| 6c 5f 55 6e 73 65 74 56 | 61 72 32 20 5f 41 4e 53 |l_UnsetV|ar2 _ANS|
|00005b90| 49 5f 41 52 47 53 5f 28 | 28 54 63 6c 5f 49 6e 74 |I_ARGS_(|(Tcl_Int|
|00005ba0| 65 72 70 20 2a 69 6e 74 | 65 72 70 2c 0a 09 09 09 |erp *int|erp,....|
|00005bb0| 20 20 20 20 63 68 61 72 | 20 2a 70 61 72 74 31 2c | char| *part1,|
|00005bc0| 20 63 68 61 72 20 2a 70 | 61 72 74 32 2c 20 69 6e | char *p|art2, in|
|00005bd0| 74 20 66 6c 61 67 73 29 | 29 3b 0a 45 58 54 45 52 |t flags)|);.EXTER|
|00005be0| 4e 20 76 6f 69 64 09 09 | 54 63 6c 5f 55 6e 74 72 |N void..|Tcl_Untr|
|00005bf0| 61 63 65 56 61 72 20 5f | 41 4e 53 49 5f 41 52 47 |aceVar _|ANSI_ARG|
|00005c00| 53 5f 28 28 54 63 6c 5f | 49 6e 74 65 72 70 20 2a |S_((Tcl_|Interp *|
|00005c10| 69 6e 74 65 72 70 2c 0a | 09 09 09 20 20 20 20 63 |interp,.|... c|
|00005c20| 68 61 72 20 2a 76 61 72 | 4e 61 6d 65 2c 20 69 6e |har *var|Name, in|
|00005c30| 74 20 66 6c 61 67 73 2c | 20 54 63 6c 5f 56 61 72 |t flags,| Tcl_Var|
|00005c40| 54 72 61 63 65 50 72 6f | 63 20 2a 70 72 6f 63 2c |TracePro|c *proc,|
|00005c50| 0a 09 09 09 20 20 20 20 | 43 6c 69 65 6e 74 44 61 |.... |ClientDa|
|00005c60| 74 61 20 63 6c 69 65 6e | 74 44 61 74 61 29 29 3b |ta clien|tData));|
|00005c70| 0a 45 58 54 45 52 4e 20 | 76 6f 69 64 09 09 54 63 |.EXTERN |void..Tc|
|00005c80| 6c 5f 55 6e 74 72 61 63 | 65 56 61 72 32 20 5f 41 |l_Untrac|eVar2 _A|
|00005c90| 4e 53 49 5f 41 52 47 53 | 5f 28 28 54 63 6c 5f 49 |NSI_ARGS|_((Tcl_I|
|00005ca0| 6e 74 65 72 70 20 2a 69 | 6e 74 65 72 70 2c 0a 09 |nterp *i|nterp,..|
|00005cb0| 09 09 20 20 20 20 63 68 | 61 72 20 2a 70 61 72 74 |.. ch|ar *part|
|00005cc0| 31 2c 20 63 68 61 72 20 | 2a 70 61 72 74 32 2c 20 |1, char |*part2, |
|00005cd0| 69 6e 74 20 66 6c 61 67 | 73 2c 0a 09 09 09 20 20 |int flag|s,.... |
|00005ce0| 20 20 54 63 6c 5f 56 61 | 72 54 72 61 63 65 50 72 | Tcl_Va|rTracePr|
|00005cf0| 6f 63 20 2a 70 72 6f 63 | 2c 20 43 6c 69 65 6e 74 |oc *proc|, Client|
|00005d00| 44 61 74 61 20 63 6c 69 | 65 6e 74 44 61 74 61 29 |Data cli|entData)|
|00005d10| 29 3b 0a 45 58 54 45 52 | 4e 20 69 6e 74 09 09 54 |);.EXTER|N int..T|
|00005d20| 63 6c 5f 56 61 72 45 76 | 61 6c 20 5f 41 4e 53 49 |cl_VarEv|al _ANSI|
|00005d30| 5f 41 52 47 53 5f 28 56 | 41 52 41 52 47 53 29 3b |_ARGS_(V|ARARGS);|
|00005d40| 0a 45 58 54 45 52 4e 20 | 43 6c 69 65 6e 74 44 61 |.EXTERN |ClientDa|
|00005d50| 74 61 09 54 63 6c 5f 56 | 61 72 54 72 61 63 65 49 |ta.Tcl_V|arTraceI|
|00005d60| 6e 66 6f 20 5f 41 4e 53 | 49 5f 41 52 47 53 5f 28 |nfo _ANS|I_ARGS_(|
|00005d70| 28 54 63 6c 5f 49 6e 74 | 65 72 70 20 2a 69 6e 74 |(Tcl_Int|erp *int|
|00005d80| 65 72 70 2c 0a 09 09 09 | 20 20 20 20 63 68 61 72 |erp,....| char|
|00005d90| 20 2a 76 61 72 4e 61 6d | 65 2c 20 69 6e 74 20 66 | *varNam|e, int f|
|00005da0| 6c 61 67 73 2c 0a 09 09 | 09 20 20 20 20 54 63 6c |lags,...|. Tcl|
|00005db0| 5f 56 61 72 54 72 61 63 | 65 50 72 6f 63 20 2a 70 |_VarTrac|eProc *p|
|00005dc0| 72 6f 63 50 74 72 2c 0a | 09 09 09 20 20 20 20 43 |rocPtr,.|... C|
|00005dd0| 6c 69 65 6e 74 44 61 74 | 61 20 70 72 65 76 43 6c |lientDat|a prevCl|
|00005de0| 69 65 6e 74 44 61 74 61 | 29 29 3b 0a 45 58 54 45 |ientData|));.EXTE|
|00005df0| 52 4e 20 43 6c 69 65 6e | 74 44 61 74 61 09 54 63 |RN Clien|tData.Tc|
|00005e00| 6c 5f 56 61 72 54 72 61 | 63 65 49 6e 66 6f 32 20 |l_VarTra|ceInfo2 |
|00005e10| 5f 41 4e 53 49 5f 41 52 | 47 53 5f 28 28 54 63 6c |_ANSI_AR|GS_((Tcl|
|00005e20| 5f 49 6e 74 65 72 70 20 | 2a 69 6e 74 65 72 70 2c |_Interp |*interp,|
|00005e30| 0a 09 09 09 20 20 20 20 | 63 68 61 72 20 2a 70 61 |.... |char *pa|
|00005e40| 72 74 31 2c 20 63 68 61 | 72 20 2a 70 61 72 74 32 |rt1, cha|r *part2|
|00005e50| 2c 20 69 6e 74 20 66 6c | 61 67 73 2c 0a 09 09 09 |, int fl|ags,....|
|00005e60| 20 20 20 20 54 63 6c 5f | 56 61 72 54 72 61 63 65 | Tcl_|VarTrace|
|00005e70| 50 72 6f 63 20 2a 70 72 | 6f 63 50 74 72 2c 0a 09 |Proc *pr|ocPtr,..|
|00005e80| 09 09 20 20 20 20 43 6c | 69 65 6e 74 44 61 74 61 |.. Cl|ientData|
|00005e90| 20 70 72 65 76 43 6c 69 | 65 6e 74 44 61 74 61 29 | prevCli|entData)|
|00005ea0| 29 3b 0a 0a 23 65 6e 64 | 69 66 20 2f 2a 20 5f 54 |);..#end|if /* _T|
|00005eb0| 43 4c 20 2a 2f 0a 00 00 | 00 00 00 00 00 00 00 00 |CL */...|........|
|00005ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006000| 75 73 72 2f 69 6e 63 6c | 75 64 65 2f 74 63 6c 2f |usr/incl|ude/tcl/|
|00006010| 74 63 6c 49 6e 74 2e 68 | 00 00 00 00 00 00 00 00 |tclInt.h|........|
|00006020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006060| 00 00 00 00 31 30 30 34 | 34 34 20 00 20 20 20 20 |....1004|44 . |
|00006070| 20 30 20 00 20 20 20 20 | 20 30 20 00 20 20 20 20 | 0 . | 0 . |
|00006080| 20 31 30 36 35 33 33 20 | 20 35 34 37 34 37 32 36 | 106533 | 5474726|
|00006090| 33 35 37 20 20 31 33 36 | 35 32 00 20 30 00 00 00 |357 136|52. 0...|
|000060a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000060b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000060c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000060d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000060e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000060f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006100| 00 75 73 74 61 72 20 20 | 00 72 6f 6f 74 00 00 00 |.ustar |.root...|
|00006110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006120| 00 00 00 00 00 00 00 00 | 00 72 6f 6f 74 00 00 00 |........|.root...|
|00006130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006200| 2f 2a 0a 20 2a 20 74 63 | 6c 49 6e 74 2e 68 20 2d |/*. * tc|lInt.h -|
|00006210| 2d 0a 20 2a 0a 20 2a 09 | 44 65 63 6c 61 72 61 74 |-. *. *.|Declarat|
|00006220| 69 6f 6e 73 20 6f 66 20 | 74 68 69 6e 67 73 20 75 |ions of |things u|
|00006230| 73 65 64 20 69 6e 74 65 | 72 6e 61 6c 6c 79 20 62 |sed inte|rnally b|
|00006240| 79 20 74 68 65 20 54 63 | 6c 20 69 6e 74 65 72 70 |y the Tc|l interp|
|00006250| 72 65 74 65 72 2e 0a 20 | 2a 0a 20 2a 20 43 6f 70 |reter.. |*. * Cop|
|00006260| 79 72 69 67 68 74 20 28 | 63 29 20 31 39 38 37 2d |yright (|c) 1987-|
|00006270| 31 39 39 33 20 54 68 65 | 20 52 65 67 65 6e 74 73 |1993 The| Regents|
|00006280| 20 6f 66 20 74 68 65 20 | 55 6e 69 76 65 72 73 69 | of the |Universi|
|00006290| 74 79 20 6f 66 20 43 61 | 6c 69 66 6f 72 6e 69 61 |ty of Ca|lifornia|
|000062a0| 2e 0a 20 2a 20 41 6c 6c | 20 72 69 67 68 74 73 20 |.. * All| rights |
|000062b0| 72 65 73 65 72 76 65 64 | 2e 0a 20 2a 0a 20 2a 20 |reserved|.. *. * |
|000062c0| 50 65 72 6d 69 73 73 69 | 6f 6e 20 69 73 20 68 65 |Permissi|on is he|
|000062d0| 72 65 62 79 20 67 72 61 | 6e 74 65 64 2c 20 77 69 |reby gra|nted, wi|
|000062e0| 74 68 6f 75 74 20 77 72 | 69 74 74 65 6e 20 61 67 |thout wr|itten ag|
|000062f0| 72 65 65 6d 65 6e 74 20 | 61 6e 64 20 77 69 74 68 |reement |and with|
|00006300| 6f 75 74 0a 20 2a 20 6c | 69 63 65 6e 73 65 20 6f |out. * l|icense o|
|00006310| 72 20 72 6f 79 61 6c 74 | 79 20 66 65 65 73 2c 20 |r royalt|y fees, |
|00006320| 74 6f 20 75 73 65 2c 20 | 63 6f 70 79 2c 20 6d 6f |to use, |copy, mo|
|00006330| 64 69 66 79 2c 20 61 6e | 64 20 64 69 73 74 72 69 |dify, an|d distri|
|00006340| 62 75 74 65 20 74 68 69 | 73 0a 20 2a 20 73 6f 66 |bute thi|s. * sof|
|00006350| 74 77 61 72 65 20 61 6e | 64 20 69 74 73 20 64 6f |tware an|d its do|
|00006360| 63 75 6d 65 6e 74 61 74 | 69 6f 6e 20 66 6f 72 20 |cumentat|ion for |
|00006370| 61 6e 79 20 70 75 72 70 | 6f 73 65 2c 20 70 72 6f |any purp|ose, pro|
|00006380| 76 69 64 65 64 20 74 68 | 61 74 20 74 68 65 0a 20 |vided th|at the. |
|00006390| 2a 20 61 62 6f 76 65 20 | 63 6f 70 79 72 69 67 68 |* above |copyrigh|
|000063a0| 74 20 6e 6f 74 69 63 65 | 20 61 6e 64 20 74 68 65 |t notice| and the|
|000063b0| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 74 77 6f 20 70 | followi|ng two p|
|000063c0| 61 72 61 67 72 61 70 68 | 73 20 61 70 70 65 61 72 |aragraph|s appear|
|000063d0| 20 69 6e 0a 20 2a 20 61 | 6c 6c 20 63 6f 70 69 65 | in. * a|ll copie|
|000063e0| 73 20 6f 66 20 74 68 69 | 73 20 73 6f 66 74 77 61 |s of thi|s softwa|
|000063f0| 72 65 2e 0a 20 2a 20 0a | 20 2a 20 49 4e 20 4e 4f |re.. * .| * IN NO|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.